UberStudent Forums
http://uberstudent.com/phpBB/

APT mirror instead of us.archive.ubuntu.com on sources
http://uberstudent.com/phpBB/viewtopic.php?f=15&t=1195
Page 2 of 2

Author:  Stephen Ewen [ Tue Jul 26, 2016 6:19 am ]
Post subject:  Re: APT mirror instead of us.archive.ubuntu.com on sources

You'll need to start out by running:
Code:
touch -a -m -t 201512180130.09 /tmp/aptmirrortest/age

You'll also need to create a file /etc/sudoers.d/apt-mirror-check containing
Code:
# Allow fastest apt mirror to update without any user input

Cmnd_Alias MIRROR = /usr/lib/uberstudent/uberstudentUpdate/apt-mirror-check

ALL ALL = NOPASSWD:MIRROR

Author:  Berker Pekoz [ Sun Aug 07, 2016 4:29 am ]
Post subject:  Re: APT mirror instead of us.archive.ubuntu.com on sources

Even before I tried to run the test code, set-fastest-mirror stopped working because of write permissions to official_package_sources.list file, is that normal?

Author:  Stephen Ewen [ Tue Aug 09, 2016 7:33 am ]
Post subject:  Re: APT mirror instead of us.archive.ubuntu.com on sources

It has to be run as root. It will do so if you launch it from the entry in the Apaplications menu.

Page 2 of 2 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/