![]() |
2014-02-19
, 08:02
|
Posts: 2,102 |
Thanked: 1,937 times |
Joined on Sep 2008
@ Berlin, Germany
|
#2
|
dpkg -l | grep libqt4-sql
![]() |
2014-02-19
, 15:12
|
Posts: 29 |
Thanked: 19 times |
Joined on Feb 2010
@ Germany, Wolfenbuettel
|
#3
|
dpkg -l | grep libqt4-sql ii libqt4-sql 1:4.7.4-git20110505+cssu11 Qt 4 SQL module ii libqt4-sql-module 1:4.7.4-git20110505+cssu11 Qt 4 SQLite plugin dpkg -l | grep libqt4-xml ii libqt4-xml 1:4.7.4-git20110505+cssu11 Qt 4 XML module ii libqt4-xmlpatterns 1:4.7.4-git20110505+cssu11 Qt 4 XML Patterns module
![]() |
2014-02-19
, 17:03
|
Posts: 805 |
Thanked: 1,605 times |
Joined on Feb 2010
@ Gdynia, Poland
|
#5
|
![]() |
2014-02-19
, 17:50
|
Posts: 29 |
Thanked: 19 times |
Joined on Feb 2010
@ Germany, Wolfenbuettel
|
#6
|
![]() |
2014-02-19
, 19:41
|
Posts: 2,102 |
Thanked: 1,937 times |
Joined on Sep 2008
@ Berlin, Germany
|
#7
|
seems like apt-get doesnt like the ':' contra '%3A' and interpretes the '%3A' as being a newer version
ls -al /var/cache/apt
The Following User Says Thank You to michaaa62 For This Useful Post: | ||
![]() |
2014-02-19
, 22:32
|
Posts: 29 |
Thanked: 19 times |
Joined on Feb 2010
@ Germany, Wolfenbuettel
|
#8
|
/home/user # ls -al /opt/var/cache/apt/archives/ |grep libqt4-sql -rw-r--r-- 1 root root 22814 Jun 7 2013 libqt4-sql-sqlite_1%3a4.7.4~git20110505+cssu10_armel.deb -rw-r--r-- 1 root root 22858 Nov 24 18:38 libqt4-sql-sqlite_1%3a4.7.4~git20110505+cssu11_armel.deb -rw-r--r-- 1 root root 22546 Sep 11 2012 libqt4-sql-sqlite_1%3a4.7.4~git20110505+cssu7_armel.deb -rw-r--r-- 1 root root 97122 Jun 7 2013 libqt4-sql_1%3a4.7.4~git20110505+cssu10_armel.deb -rw-r--r-- 1 root root 97172 Nov 24 18:38 libqt4-sql_1%3a4.7.4~git20110505+cssu11_armel.deb -rw-r--r-- 1 root root 96854 Sep 11 2012 libqt4-sql_1%3a4.7.4~git20110505+cssu7_armel.deb /home/user # ls -al /opt/var/cache/apt/archives/ |grep libqt4-xml -rw-r--r-- 1 root root 100816 Jun 7 2013 libqt4-xml_1%3a4.7.4~git20110505+cssu10_armel.deb -rw-r--r-- 1 root root 100860 Nov 24 18:38 libqt4-xml_1%3a4.7.4~git20110505+cssu11_armel.deb -rw-r--r-- 1 root root 100584 Sep 11 2012 libqt4-xml_1%3a4.7.4~git20110505+cssu7_armel.deb -rw-r--r-- 1 root root 1552278 Jun 7 2013 libqt4-xmlpatterns_1%3a4.7.4~git20110505+cssu10_armel.deb -rw-r--r-- 1 root root 1552312 Dec 28 20:16 libqt4-xmlpatterns_1%3a4.7.4~git20110505+cssu11_armel.deb -rw-r--r-- 1 root root 1552046 Sep 11 2012 libqt4-xmlpatterns_1%3a4.7.4~git20110505+cssu7_armel.deb /home/user #
![]() |
2014-02-20
, 09:09
|
Posts: 2,102 |
Thanked: 1,937 times |
Joined on Sep 2008
@ Berlin, Germany
|
#9
|
sudo gainroot dpkg -i /opt/var/cache/apt/archives/libqt4-sql-sqlite_1:4.7.4~git20110505+cssu11_armel.deb dpkg -i /opt/var/cache/apt/archives/libqt4-sql_1:4.7.4~git20110505+cssu11_armel.deb dpkg -i /opt/var/cache/apt/archives/libqt4-sql-xml_1:4.7.4~git20110505+cssu11_armel.deb
[1|user@Nokia-N900|~]ls -al /var/cache/apt
lrwxrwxrwx 1 root root 18 Nov 17 10:15 /var/cache/apt -> /opt/var/cache/apt
[1|user@Nokia-N900|~]ls -al /opt/var/cache/apt/
drwxr-xr-x 3 root root 4096 Feb 19 21:15 .
drwxr-xr-x 3 root root 4096 Nov 17 10:15 ..
drwxr-xr-x 3 root root 20480 Feb 19 20:48 archives
-rw-r--r-- 1 root root 9000048 Feb 19 21:16 pkgcache.bin
-rw-r--r-- 1 root root 8934319 Feb 19 20:44 srcpkgcache.bin
![]() |
2014-02-20
, 13:31
|
Posts: 29 |
Thanked: 19 times |
Joined on Feb 2010
@ Germany, Wolfenbuettel
|
#10
|
/home/user # dpkg -i /opt/var/cache/apt/archives/libqt4-xml_1:4.7.4~git20110505+cssu11_armel.deb (Reading database ... 41981 files and directories currently installed.) Preparing to replace libqt4-xml 1:4.7.4~git20110505+cssu11 (using .../libqt4-xml_1:4.7.4~git20110505+cssu11_armel.deb) ... Unpacking replacement libqt4-xml ... Setting up libqt4-xml (1:4.7.4~git20110505+cssu11) ... /home/user # dpkg -i /opt/var/cache/apt/archives/libqt4-sql_1:4.7.4~git20110505+cssu11_armel.deb (Reading database ... 41981 files and directories currently installed.) Preparing to replace libqt4-sql 1:4.7.4~git20110505+cssu11 (using .../libqt4-sql_1:4.7.4~git20110505+cssu11_armel.deb) ... Unpacking replacement libqt4-sql ... Setting up libqt4-sql (1:4.7.4~git20110505+cssu11) ... /home/user # dpkg -i /opt/var/cache/apt/archives/libqt4-sql-sqlite_1:4.7.4~git20110505+cssu11_arme l.deb (Reading database ... 41981 files and directories currently installed.) Preparing to replace libqt4-sql-sqlite 1:4.7.4~git20110505+cssu11 (using .../libqt4-sql-sqlite_1:4.7.4~git20110505+cssu11_armel.deb) ... Unpacking replacement libqt4-sql-sqlite ... Setting up libqt4-sql-sqlite (1:4.7.4~git20110505+cssu11) ... /home/user #
/home/user # apt-get update .... /home/user # apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be upgraded: libqt4-sql libqt4-sql-sqlite libqt4-xml 3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 0B/221kB of archives. After this operation, 12,3kB disk space will be freed. Do you want to continue [Y/n]? Y (Reading database ... 41981 files and directories currently installed.) Preparing to replace libqt4-sql 1:4.7.4~git20110505+cssu11 (using .../libqt4-sql_1%3a4.7.4~git20110505+cssu11_armel.deb) ... Unpacking replacement libqt4-sql ... Preparing to replace libqt4-sql-sqlite 1:4.7.4~git20110505+cssu11 (using .../libqt4-sql-sqlite_1%3a4.7.4~git20110505+cssu11_armel.deb) ... Unpacking replacement libqt4-sql-sqlite ... Preparing to replace libqt4-xml 1:4.7.4~git20110505+cssu11 (using .../libqt4-xml_1%3a4.7.4~git20110505+cssu11_armel.deb) ... Unpacking replacement libqt4-xml ... Setting up libqt4-sql (1:4.7.4~git20110505+cssu11) ... Setting up libqt4-sql-sqlite (1:4.7.4~git20110505+cssu11) ... Setting up libqt4-xml (1:4.7.4~git20110505+cssu11) ...
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?
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
Last edited by chrischras; 2014-02-23 at 06:59. Reason: problem solved