andy@fileserver:/$ file /usr/lib/python2.6/dist-packages/AptUrl/gtk
/usr/lib/python2.6/dist-packages/AptUrl/gtk: directory
andy@fileserver:/$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
apturl
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
25 not fully installed or removed.
Need to get 0B/12.3kB of archives.
After this operation, 102kB disk space will be freed.
Do you want to continue [Y/n]? Y
(Reading database ... 107558 files and directories currently installed.)
Preparing to replace apturl 0.3.6ubuntu1 (using .../apturl_0.4.0ubuntu2_all.deb) ...
Unpacking replacement apturl ...
Replaced by files in installed package apturl-common ...
dpkg: error processing /var/cache/apt/archives/apturl_0.4.0ubuntu2_all.deb (--unpack):
error creating directory `./usr/lib/python2.6/dist-packages/AptUrl/gtk': No such file or directory
Errors were encountered while processing:
/var/cache/apt/archives/apturl_0.4.0ubuntu2_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
andy@fileserver:/$ file /usr/lib/ python2. 6/dist- packages/ AptUrl/ gtk python2. 6/dist- packages/ AptUrl/ gtk: directory 0.4.0ubuntu2_ all.deb) ... apt/archives/ apturl_ 0.4.0ubuntu2_ all.deb (--unpack): lib/python2. 6/dist- packages/ AptUrl/ gtk': No such file or directory apt/archives/ apturl_ 0.4.0ubuntu2_ all.deb
/usr/lib/
andy@fileserver:/$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
apturl
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
25 not fully installed or removed.
Need to get 0B/12.3kB of archives.
After this operation, 102kB disk space will be freed.
Do you want to continue [Y/n]? Y
(Reading database ... 107558 files and directories currently installed.)
Preparing to replace apturl 0.3.6ubuntu1 (using .../apturl_
Unpacking replacement apturl ...
Replaced by files in installed package apturl-common ...
dpkg: error processing /var/cache/
error creating directory `./usr/
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
andy@fileserver:/$ ls -l /usr/lib/ python2. 6/dist- packages/ AptUrl/ gtk pyshared/ AptUrl/ gtk/GtkUI. py pyshared/ AptUrl/ gtk/__init_ _.py
total 16
lrwxrwxrwx 1 root root 39 2009-09-01 21:45 GtkUI.py -> /usr/share/
-rw-r--r-- 1 root root 8245 2009-09-01 21:45 GtkUI.pyc
lrwxrwxrwx 1 root root 42 2009-09-01 21:45 __init__.py -> /usr/share/
-rw-r--r-- 1 root root 142 2009-09-01 21:45 __init__.pyc
andy@fileserver:/$ uname -a
Linux fileserver 2.6.31-9-generic #29-Ubuntu SMP Sun Aug 30 17:39:26 UTC 2009 x86_64 GNU/Linux
andy@fileserver:/$ apt-cache policy apturl gb.archive. ubuntu. com karmic/main Packages dpkg/status
apturl:
Installed: 0.3.6ubuntu1
Candidate: 0.4.0ubuntu2
Version table:
0.4.0ubuntu2 0
500 http://
*** 0.3.6ubuntu1 0
100 /var/lib/