![]() |
[solved] upgrade-problem with apt-get
Hello together,
i have a recurring problem with 'apt-get upgrade'. It seems, that three libs for libqt4 (and sql) are not updated. every time the following libs appears and every time no error will be displayed. Does anyone know a solution? Code:
home/user # apt-get upgrade Solution: ------------ 1. rename filenames for packages with wrong characters (in this case ':' for '%3a') in filename not updated in /opt/var/cache/apt/archives/: '(cd /opt/var/cache/apt/archives/; mv {wrong_package_filename} {filename})' 2. manually install this files with 'dpkg -i /opt/var/cache/apt/archives/{filename}' 3. execute: 'apt-get clean; apt-get update; apt-get upgrade' to verify |
Re: upgrade-problem with apt-get
Check for the status report of dpkg
Code:
dpkg -l | grep libqt4-sql |
Re: upgrade-problem with apt-get
Hej,
thank you for your answer! Code:
dpkg -l | grep libqt4-sql with regrads, Christian |
Re: upgrade-problem with apt-get
seems like apt-get doesnt like the ':' contra '%3A' and interpretes the '%3A' as being a newer version
|
Re: upgrade-problem with apt-get
It is also worth noting that "apt-get upgrade" can generally be a bad idea on N900, especially when you have devel repos enabled;)
|
Re: upgrade-problem with apt-get
Yeah,
but also aptitude safe-upgrade show this repaeting upgrade behaviour. Do i have to wait until next versions of packages appear with correct numbering or can i upgrade manually with dpkg and tell apt not to use this version with ":". |
Re: upgrade-problem with apt-get
Quote:
This is some kind of an encoding problem, usually url-encoding. But may be file system encoding... What is the output of Code:
ls -al /var/cache/apt |
Re: upgrade-problem with apt-get
so, here output for lipqt4-sql:
Code:
/home/user # ls -al /opt/var/cache/apt/archives/ |grep libqt4-sql Can i simple rename them? |
Re: upgrade-problem with apt-get
Yes, you can.
You may have to install them manually Code:
sudo gainroot Quote:
|
Re: upgrade-problem with apt-get
Hej,
thx! So i went and renamed and unleashed dpkg of the line: Code:
/home/user # dpkg -i /opt/var/cache/apt/archives/libqt4-xml_1:4.7.4~git20110505+cssu11_armel.deb Code:
/home/user # apt-get update |
All times are GMT. The time now is 07:21. |
vBulletin® Version 3.8.8