Can't Update

Archived topics about LMDE 1 and LMDE 2
Locked
dmhm

Can't Update

Post by dmhm »

My LMDE installation is not recent and I am not connecting to the correct repositories. Also, I would prefer to track the current Debian Stable version (Wheezy) rather than Testing. If that is not likely to cause any problems, which are the current stable repositories and where do I set them?

(I searched on this issue but didn't find the answers and the codes used to solve the problem before don't work now).

Thanks in advance.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
dmhm

Re: Can't Update [SOLVED]

Post by dmhm »

It wasn't that hard. I opened the Software Manager and changed the software sources via the edit menu, after checking for the best server. (I also removed the Romeo option, for now).
jdackle

Re: Can't Update

Post by jdackle »

I am also tracking stable (at least til LMDE's UP7 gets to incoming) and doing that got me some 550+ new packages.

Got some trouble with, if I remember correctly, 14 packages (and hence their dependants) for saying "No" to all packages that apt-listbugs reported as having some sort of... bug (sorry for the redundancy).
Anyway, I later checked them one by one and, except for one, none actually did apply to my system (one affected ia64 only, I'm running amd64), several affected the upgrade from squeeze to wheezy (which shouldn't affect Mint UP6 as it was released tracking Wheezy (by then the testing branch of Debian) and a few other such non-applicable ones.
The exception was grub-pc, which apparently has some bug in the UUID detection. I got my Grub menu pretty messed up: entries repeated several times and corresponding entry-names a bit messed up too. But they still work and it's not problem editing /boot/grub/grub.cfg (even though the file warns not too - of course, it will be overwritten when I issue an 'update-grub' but...).

If anyone should be interested, here are my current sources.list and preferences files:

/etc/apt/sources.list (Portuguese mirrors):

Code: Select all

# LMDE latest
# deb http://packages.linuxmint.com/ debian main upstream import  
# deb http://mirrors.fe.up.pt/linuxmint-debian/latest/ testing main contrib non-free 
# deb http://mirrors.fe.up.pt/linuxmint-debian/latest/security/ testing/updates main contrib non-free 
# deb http://mirrors.fe.up.pt/linuxmint-debian/latest/multimedia/ testing main non-free 

# LMDE incoming
# deb http://packages.linuxmint.com/ debian main upstream import incoming 
# deb http://mirrors.fe.up.pt/linuxmint-debian/incoming/ testing main contrib non-free 
# deb http://mirrors.fe.up.pt/linuxmint-debian/incoming/security/ testing/updates main contrib non-free 
# deb http://mirrors.fe.up.pt/linuxmint-debian/incoming/multimedia/ testing main non-free 

# Debian Stable
deb http://packages.linuxmint.com/ debian main upstream import  
deb http://ftp.pt.debian.org/debian/ stable main contrib non-free  
deb http://security.debian.org/ stable/updates main contrib non-free 
deb http://www.deb-multimedia.org/ stable main non-free 
# Debian Stable backports
deb http://ftp.pt.debian.org/debian/ wheezy-backports main 

# Mozilla builds for Ubuntu
deb http://downloads.sourceforge.net/project/ubuntuzilla/mozilla/apt/ all ma
The PPA (I know :P ) is because my Firefox profile is shared with a Xubuntu installation and the package installs almost everything in /opt (which is on the same common partitions as my profile) plus a few links (binary, desktop links and the like) in /usr - no impact on the system AFAICT.
Also, I specifically used "wheezy" instead of "stable" because the stable-backports were not being recognised (but I believe this is a fault in the Portuguese mirror only, not sure).

/etc/apt/preferences (Where no "Explanation" is given, those were the preferences set beforehand by LMDE):

Code: Select all

Package: *
Pin: release o=linuxmint
Pin-Priority: 700

Package: *
Pin: origin packages.linuxmint.com
Pin-Priority: 700

Package: *
Pin: release o=Debian
Pin-Priority: 500

Explanation: For up-to-date Claws-Mail
Package: claws*
Pin: release n=wheezy-backports
Pin-Priority: 600

Explanation: Mail (IMAP, POP3, Local) handling library, used almost only by Claws-Mail
Package: libetpan*
Pin: release n=wheezy-backports
Pin-Priority: 600

Explanation: To fix a bug on Debian Wheezy as soon as a fix is backported to Wheezy.
Package: grub*
Pin: release n=wheezy-backports
Pin-Priority: 600

Explanation: To make available keyring (GPG signing keys) from Wheezy Backports available
Package: *keyring
Pin: release n=wheezy-backports
Pin-Priority: 500

Explanation: Install NO other packages form wheezy-backports
Package: *
Pin: release n=wheezy-backports
Pin-Priority: -100
Not sure the "*keyring" section is needed/. I had some issues with some packages appearing "non authenticated" and hence threw that one in. Haven't had more issues with it one the latest installs (still configuring the system) but I'm not sure that's what actually fixed it.
dmhm

Re: Can't Update

Post by dmhm »

Thanks for the Info, which I saved just in case.
lonewolfinc

Re: Can't Update

Post by lonewolfinc »

I had the same issue and all I had to do was open a terminal and type in;
sudo apt-get update

and it loaded all the lists in the terminal. I then retryed using the update from mint itself and it was just fine.

Hope this helps.
TonyMi

Re: Can't Update

Post by TonyMi »

OK, I managed to get Sudo apt-get update to work and got the list in the terminal, but this didn't help me at all, using update manager continued to fail.

My mirrors are:

http://lmde-mirror-fr-1.wedrop.it/latest testing
http://lmde-mirror-fr-1.wedrop.it/latest/security testing/updates
http://lmde-mirror-fr-1.wedrop.it/latest/multimedia testing

I still have 1420 packages not updated.

This is so frustrating, I've only been trying to update LMDE since November!!!!
py-thon

Re: Can't Update

Post by py-thon »

TonyMi wrote:This is so frustrating, I've only been trying to update LMDE since November!!!!
Maybe it would have helped starting a thread and asking for help earlier instead of complaining now in some old thread which is about trying to track Debian stable?

You have two options:
1. New installation of LMDE 201403 and update a few packages.
2. Updating your current system. A major problem obviously is that you are trying to use a mirror which doesn't host LMDE anymore (see http://www.linuxmint.com/mirrors.php under Package mirrors for LMDE). Or maybe it does as an unofficial mirror, because otherwise there would be no information about 1420 packages not updated.
Follow information given in http://blog.linuxmint.com/?p=2544 and http://debian.linuxmint.com/latest/update-pack.html to install Update Pack 8.
If this does not work and you need more help you should start your own thread and give some details.
Locked

Return to “LMDE Archive”