No Automatic Updates after Peppermint 5 install

Hi Guys

I don’t know what it is I’m doing wrong but I’ve installed Peppermint 5 on 3 different computers (2 PC’s & 1 Laptop) and the Auto updates won’t work on any of them I got it working on my PC with help on this thread http://linuxforums.org.uk/index.php?topic=12019.0 but I’m not sure what actually fixed it in the end so I can apply it to the other 2 machines,

on the Laptop running sudo apt-get update show duplicate sources but on the PC no errors are shown but running the Software Updater manually works fine on both machines but neither of these machines has ever offered auto updates

Any ideas ?

Graeme

Post the contents from:

gedit /etc/apt/sources.list

for both machines.


For my reference:

Laptop

# deb cdrom:[Peppermint 5 _Five_ - Release i386 (20140617.2)]/ trusty main multiverse restricted universe

See UpgradeNotes - Community Help Wiki for how to upgrade to

newer versions of the distribution.

deb Index of /ubuntu trusty main restricted
deb-src Index of /ubuntu trusty main restricted

Major bug fix updates produced after the final release of the

distribution.

deb Index of /ubuntu trusty-updates main restricted
deb-src Index of /ubuntu trusty-updates main restricted

N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu

team. Also, please note that software in universe WILL NOT receive any

review or updates from the Ubuntu security team.

deb Index of /ubuntu trusty universe
deb-src Index of /ubuntu trusty universe
deb Index of /ubuntu trusty-updates universe
deb-src Index of /ubuntu trusty-updates universe

N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu

team, and may not be under a free licence. Please satisfy yourself as to

your rights to use the software. Also, please note that software in

multiverse WILL NOT receive any review or updates from the Ubuntu

security team.

deb Index of /ubuntu trusty multiverse
deb-src Index of /ubuntu trusty multiverse
deb Index of /ubuntu trusty-updates multiverse
deb-src Index of /ubuntu trusty-updates multiverse

N.B. software from this repository may not have been tested as

extensively as that contained in the main release, although it includes

newer versions of some applications which may provide useful features.

Also, please note that software in backports WILL NOT receive any review

or updates from the Ubuntu security team.

deb Index of /ubuntu trusty-backports main restricted universe multiverse
deb-src Index of /ubuntu trusty-backports main restricted universe multiverse

deb Index of /ubuntu trusty-security main restricted
deb-src Index of /ubuntu trusty-security main restricted
deb Index of /ubuntu trusty-security universe
deb-src Index of /ubuntu trusty-security universe
deb Index of /ubuntu trusty-security multiverse
deb-src Index of /ubuntu trusty-security multiverse

Uncomment the following two lines to add software from Canonical’s

‘partner’ repository.

This software is not part of Ubuntu, but is offered by Canonical and the

respective vendors as a service to Ubuntu users.

deb Index of /ubuntu trusty partner

deb-src Index of /ubuntu trusty partner

This software is not part of Ubuntu, but is offered by third-party

developers who want to ship their latest software.

deb Index of /ubuntu trusty main
deb-src Index of /ubuntu trusty main
deb Index of /ubuntu trusty-security main restricted universe multiverse

Desktop

# deb cdrom:[Peppermint 5 _Five_ - Release i386 (20140617.2)]/ trusty main multiverse restricted universe

See UpgradeNotes - Community Help Wiki for how to upgrade to

newer versions of the distribution.

deb Index of /ubuntu trusty main restricted
deb-src Index of /ubuntu trusty main restricted

Major bug fix updates produced after the final release of the

distribution.

deb Index of /ubuntu trusty-updates main restricted
deb-src Index of /ubuntu trusty-updates main restricted

N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu

team. Also, please note that software in universe WILL NOT receive any

review or updates from the Ubuntu security team.

deb Index of /ubuntu trusty universe
deb-src Index of /ubuntu trusty universe
deb Index of /ubuntu trusty-updates universe
deb-src Index of /ubuntu trusty-updates universe

N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu

team, and may not be under a free licence. Please satisfy yourself as to

your rights to use the software. Also, please note that software in

multiverse WILL NOT receive any review or updates from the Ubuntu

security team.

deb Index of /ubuntu trusty multiverse
deb-src Index of /ubuntu trusty multiverse
deb Index of /ubuntu trusty-updates multiverse
deb-src Index of /ubuntu trusty-updates multiverse

N.B. software from this repository may not have been tested as

extensively as that contained in the main release, although it includes

newer versions of some applications which may provide useful features.

Also, please note that software in backports WILL NOT receive any review

or updates from the Ubuntu security team.

deb Index of /ubuntu trusty-backports main restricted universe multiverse
deb-src Index of /ubuntu trusty-backports main restricted universe multiverse

deb Index of /ubuntu trusty-security main restricted
deb-src Index of /ubuntu trusty-security main restricted
deb Index of /ubuntu trusty-security universe
deb-src Index of /ubuntu trusty-security universe
deb Index of /ubuntu trusty-security multiverse
deb-src Index of /ubuntu trusty-security multiverse

Uncomment the following two lines to add software from Canonical’s

‘partner’ repository.

This software is not part of Ubuntu, but is offered by Canonical and the

respective vendors as a service to Ubuntu users.

deb Index of /ubuntu trusty partner

deb-src Index of /ubuntu trusty partner

This software is not part of Ubuntu, but is offered by third-party

developers who want to ship their latest software.

deb Index of /ubuntu trusty main
deb-src Index of /ubuntu trusty main

For my reference: http://repogen.simplylinux.ch/

Ive a good idea I know where you’re going with that :slight_smile:

Graeme

And you’d be right :wink:

On both…

Back them up with:

sudo cp -v /etc/apt/sources.list /etc/apt/sources.list.bak

Now open sources.list for editing

sudo gedit /etc/apt/sources.list

and make it read

#############################################################
################### OFFICIAL UBUNTU REPOS ###################
#############################################################

###### Peppermint CDROM
# deb cdrom:[Peppermint 5 _Five_ - Release i386 (20140617.2)]/ trusty main multiverse restricted universe

###### Ubuntu Main Repos
deb http://gb.archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse
deb-src http://gb.archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse

###### Ubuntu Update Repos
deb http://gb.archive.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse
deb http://gb.archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe multiverse
deb http://gb.archive.ubuntu.com/ubuntu/ trusty-proposed universe multiverse restricted main
deb http://gb.archive.ubuntu.com/ubuntu/ trusty-backports multiverse main restricted universe
deb-src http://gb.archive.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse
deb-src http://gb.archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe multiverse
deb-src http://gb.archive.ubuntu.com/ubuntu/ trusty-proposed universe multiverse restricted main
deb-src http://gb.archive.ubuntu.com/ubuntu/ trusty-backports multiverse main restricted universe

###### Ubuntu Partner Repo
deb http://archive.canonical.com/ubuntu trusty partner
deb-src http://archive.canonical.com/ubuntu trusty partner

###### Ubuntu Extras Repo
deb http://extras.ubuntu.com/ubuntu trusty main

SAVE the file and exit gedit.

Run:

sudo apt update

Ok

All done on both machines :slight_smile:

Now wait and see if you get notified of updates.

Can’t hurt to run:

menu > System Tools > Software Updater

Also wouldn’t hurt to go to:-

menu > Preferences > Software & Updates > Updates (tab)

and check the settings look like this:

http://linuxforums.org.uk/MGalleryItem.php?id=1597

None of the boxes are ticked, when I try a box pops up with this message

The information about available software is out-of-date

To install software and updates from newly added or changed sources, you have to reload the information about available software.

You need a working Internet connection to continue.

When I tick Reload it runs with the message “Updating Cache”, but even after that it still wont let me tick the boxes, this happens with both machines

Ignore the 4 tick boxes … I think that’s a bug in the 64bit software-properties-gtk

As long as your sources.list is like the one I posted above,and

sudo apt update

return no errors those boxes are effectively ticked.

It’s more the 3 drop menu settings I’m bothered about.

It's more the 3 drop menu settings I'm bothered about.

Sorry I don’t know what you mean by that ?

Graeme

Slight change, trimming, and reordering … make sources.list read

#############################################################
################### OFFICIAL UBUNTU REPOS ###################
#############################################################

###### Peppermint CDROM
# deb cdrom:[Peppermint 5 _Five_ - Release i386 (20140617.2)]/ trusty main multiverse restricted universe

###### Ubuntu Main Repos
deb http://gb.archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse
deb-src http://gb.archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse

###### Ubuntu Partner Repo
deb http://archive.canonical.com/ubuntu trusty partner
deb-src http://archive.canonical.com/ubuntu trusty partner

###### Ubuntu Extras Repo
deb http://extras.ubuntu.com/ubuntu trusty main

###### Ubuntu Update Repos
deb http://security.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse
deb http://gb.archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe multiverse
deb http://gb.archive.ubuntu.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb http://gb.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse


The 3 settings (with the drop menus) -

Automatically check for updates: Daily
When there are security updates: Display Immediately
When there are other updates: Display Weekly

OK I done that, but I’m still not able to tick the boxes in Software Updater / Updates and when I try I’m still getting the “software is out of date” message

Graeme

See above … I’m not bothered about those tick boxes (it’s a bug) … in fact stop trying to tick/untick them or your sources.list may change.

As long as the 3 drop menus are how I said, and the sources.list reads as I said, and you get no errors from:

sudo apt update

everything is hunky dory :slight_smile:

You can check the output from “apt update” to see if it’s accessing “trusty-security” and “trusty-updates”, and “trusty-proposed”, and “trusty-backports” if you wish :wink:

Explanation -

If youur sources.list rreads:-

#############################################################
################### OFFICIAL UBUNTU REPOS ###################
#############################################################

###### Peppermint CDROM
# deb cdrom:[Peppermint 5 _Five_ - Release i386 (20140617.2)]/ trusty main multiverse restricted universe

###### Ubuntu Main Repos
deb http://gb.archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse
deb-src http://gb.archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse

###### Ubuntu Partner Repo
deb http://archive.canonical.com/ubuntu trusty partner
deb-src http://archive.canonical.com/ubuntu trusty partner

###### Ubuntu Extras Repo
deb http://extras.ubuntu.com/ubuntu trusty main

###### Ubuntu Update Repos
deb http://security.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse
deb http://gb.archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe multiverse
deb http://gb.archive.ubuntu.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb http://gb.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse


Then those 3 boxes are effectively ticked.

Unticking those boxes should either comment out, or remove the 4 lines at the bottom of that sources list

So as long as those 4 lines are there … the boxes ARE ticked, even if they’re not showing it.

Make sense ?

Make sense ?

Yeah I understand :slight_smile:

I ran the update no errors reported and all the entries you were there, so I suppose it’s just a waiting game now ?

Graeme

Sure is :slight_smile: