Unknown package update issue.

3 risposte [Ultimo contenuto]
Sachin
Offline
Iscritto: 06/02/2012

I usually update package cache using "apt-get update" and then I apply
"apt-get dist-upgrade" or "apt-get upgrade" for the updates but tomorrow
and today something has happened.

Tomorrow I did "apt-get update" and "apt-get dist-upgrade" I didn't see
any new upgradable packages, and then few minutes later I ran
update-manager, used the check button and I see upgradable packages, so
I tried "apt-get dist-upgrade" then later I see these upgradable
packages asking "Install these packages without verification [y/N]?"
So I ran "apt-get update" and then "apt-get dist-upgrade" again and the
"Install these packages without verification [y/N]?" didn't appear again.

I have replicated the same issue today.

kokomo_joe

I am a member!

Offline
Iscritto: 07/16/2011

Doesn't the Trisquel updater use Aptitude instead of Apt on the backend? I've never looked into what the Trisquel updater uses (probably what Ubuntu uses). If so, it might explain why it is showing different packages than apt-get.

I've heard you should only use one of the two as they will become out-of-sync with one another. I just stick to Apt from the command line.

I would take a look at what versions of the packages it is proposing to install and compare them to what you have.

Try " dpkg --list" and piping that into a file. It should list what you have installed including versions. If it doesn't show versions, you might have to dpkg -p filename to find out.

(...From memory as I'm at work on Windoze!) I hope that helps.

Legimet
Offline
Iscritto: 12/10/2013

It uses neither. It uses python3-apt, which is an interface to a library called libapt-pkg. And apt-get and aptitude also use libapt-pkg. Also, I don't know why people here think using both apt-get and aptitude causes a problem. I've never heard that outside of this forum.

kokomo_joe

I am a member!

Offline
Iscritto: 07/16/2011

Once a misconception becomes common it continues ad nauseam despite the valiant efforts of kind friends like yourself. I heard it in a podcast a few years ago but didn't really research the matter. It just seemed logical considering the symptoms.

Sorry for the nausea.