ubuntu12.04 only: version number does not start with digit
ping
songpingemail at gmail.com
Thu Sep 27 22:00:15 UTC 2012
On 09/27/2012 05:36 PM, Preston Hagar wrote:
> sudo apt-get clean
> sudo dpkg --clear-avail
>
> and then try the update again and see if that clears it.
Hi Preston:
thanks for the response!
that looks help , at least that "version number does not start with
digit" issue is gone.
it seems I still end up with some errors when apt-get upgrade:
ping at 640g-laptop:~/Dropbox/temp-transfer$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
libdirectfb-dev plasma-widget-kimpanel
The following packages will be upgraded:
dibbler-client emacs emacs23 emacs23-bin-common emacs23-common
libxml2 libxml2-dev libxml2-utils logtool python-libxml2
10 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
Need to get 28.3 MB of archives.
After this operation, 86.0 kB disk space will be freed.
Do you want to continue [Y/n]? y
Get:1 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main
libxml2-dev amd64 2.7.8.dfsg-5.1ubuntu4.2 [804 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libxml2
amd64 2.7.8.dfsg-5.1ubuntu4.2 [673 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu/ precise/universe
dibbler-client amd64 0.7.3-1.3 [365 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main emacs23
amd64 23.3+1-1ubuntu9.1 [3,336 kB]
Get:5 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main
emacs23-bin-common amd64 23.3+1-1ubuntu9.1 [174 kB]
Get:6 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main
emacs23-common all 23.3+1-1ubuntu9.1 [22.7 MB]
Get:7 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main emacs
all 23.3+1-1ubuntu9.1 [2,250 B]
Get:8 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main
libxml2-utils amd64 2.7.8.dfsg-5.1ubuntu4.2 [39.8 kB]
Get:9 http://us.archive.ubuntu.com/ubuntu/ precise/universe logtool
amd64 1.2.8-8 [59.7 kB]
Get:10 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main
python-libxml2 amd64 2.7.8.dfsg-5.1ubuntu4.2 [186 kB]
Fetched 28.3 MB in 5s (5,539 kB/s)
Preconfiguring packages ...
(Reading database ... 788030 files and directories currently installed.)
Preparing to replace libxml2-dev 2.7.8.dfsg-5.1ubuntu4.1 (using
.../libxml2-dev_2.7.8.dfsg-5.1ubuntu4.2_amd64.deb) ...
Unpacking replacement libxml2-dev ...
Preparing to replace libxml2 2.7.8.dfsg-5.1ubuntu4.1 (using
.../libxml2_2.7.8.dfsg-5.1ubuntu4.2_amd64.deb) ...
Unpacking replacement libxml2 ...
Preparing to replace dibbler-client 0.7.3-0.1 (using
.../dibbler-client_0.7.3-1.3_amd64.deb) ...
Stopping DHCPv6 client: invoke-rc.d: initscript dibbler-client, action
"stop" failed.
dpkg: warning: subprocess old pre-removal script returned error exit
status 1
dpkg - trying script from the new package instead ...
Stopping DHCPv6 client: invoke-rc.d: initscript dibbler-client, action
"stop" failed.
dpkg: error processing
/var/cache/apt/archives/dibbler-client_0.7.3-1.3_amd64.deb (--unpack):
subprocess new pre-removal script returned error exit status 1
No apport report written because MaxReports is reached already
Preparing
to replace emacs23 23.3+1-1ubuntu9 (using
.../emacs23_23.3+1-1ubuntu9.1_amd64.deb) ...
emacs-remove emacs23
remove/flim: purging byte-compiled files for emacs23
remove/w3m-el: purging byte-compiled files for emacs23
remove/sawfish: purging byte-compiled files for emacs23
remove/gnats: purging byte-compiled files for emacs23
emacsen-common: Handling removal of emacsen flavor emacs23
emacsen-common: purging byte-compiled files for emacs23
remove/dictionaries-common: Purging byte-compiled files for flavour emacs23
remove/apel: purging byte-compiled files for emacs23
remove/a2ps: purging byte-compiled files for emacs23
Unpacking replacement emacs23 ...
Preparing to replace emacs23-bin-common 23.3+1-1ubuntu9 (using
.../emacs23-bin-common_23.3+1-1ubuntu9.1_amd64.deb) ...
Unpacking replacement emacs23-bin-common ...
Preparing to replace emacs23-common 23.3+1-1ubuntu9 (using
.../emacs23-common_23.3+1-1ubuntu9.1_all.deb) ...
Unpacking replacement emacs23-common ...
Preparing to replace emacs 23.3+1-1ubuntu9 (using
.../emacs_23.3+1-1ubuntu9.1_all.deb) ...
Unpacking replacement emacs ...
Preparing to replace libxml2-utils 2.7.8.dfsg-5.1ubuntu4.1 (using
.../libxml2-utils_2.7.8.dfsg-5.1ubuntu4.2_amd64.deb) ...
Unpacking replacement libxml2-utils ...
Preparing to replace logtool 1.2.8-7 (using
.../logtool_1.2.8-8_amd64.deb) ...
Unpacking replacement logtool ...
dpkg: warning: logtool: conffile 'etc/logtool/exclude' is not a plain
file or symlink (= '/etc/logcheck/ignore.d.paranoid')
dpkg: error processing /var/cache/apt/archives/logtool_1.2.8-8_amd64.deb
(--unpack):
unable to open '/etc/logtool/exclude.dpkg-new': No such file or directory
No apport report written because MaxReports is reached already
Preparing
to replace python-libxml2 2.7.8.dfsg-5.1ubuntu4.1 (using
.../python-libxml2_2.7.8.dfsg-5.1ubuntu4.2_amd64.deb) ...
Unpacking replacement python-libxml2 ...
Processing triggers for man-db ...
Processing triggers for menu ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for install-info ...
install-info: warning: no info dir entry in
`/usr/share/info/adacontrol_ug.info.gz'
install-info: warning: no info dir entry in `/usr/share/info/oleo.info.gz'
Errors were encountered while processing:
/var/cache/apt/archives/dibbler-client_0.7.3-1.3_amd64.deb
/var/cache/apt/archives/logtool_1.2.8-8_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
then I tried to remove the dibbler-client which I think I don't need it
(at least I don't know why I need it), but I got:
ping at 640g-laptop:~/Dropbox/temp-transfer$ sudo apt-get remove
dibbler-client
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
dibbler-doc
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
dibbler-client
0 upgraded, 0 newly installed, 1 to remove and 3 not upgraded.
8 not fully installed or removed.
After this operation, 1,180 kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 788028 files and directories currently installed.)
Removing dibbler-client ...
Stopping DHCPv6 client: invoke-rc.d: initscript dibbler-client, action
"stop" failed.
dpkg: error processing dibbler-client (--remove):
subprocess installed pre-removal script returned error exit status 1
Errors were encountered while processing:
dibbler-client
E: Sub-process /usr/bin/dpkg returned an error code (1)
but for the "logtool", I can successfully apt-get remove it.
I think apt-get clean/update/upgrade, now I end up with:
ping at 640g-laptop:~/Dropbox/temp-transfer$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
libdirectfb-dev plasma-widget-kimpanel
The following packages will be upgraded:
dibbler-client
1 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
Need to get 365 kB of archives.
After this operation, 111 kB disk space will be freed.
Do you want to continue [Y/n]? y
Get:1 http://us.archive.ubuntu.com/ubuntu/ precise/universe
dibbler-client amd64 0.7.3-1.3 [365 kB]
Fetched 365 kB in 0s (867 kB/s)
Preconfiguring packages ...
Selecting previously unselected package dibbler-client.
(Reading database ... 788020 files and directories currently installed.)
Preparing to replace dibbler-client 0.7.3-0.1 (using
.../dibbler-client_0.7.3-1.3_amd64.deb) ...
Stopping DHCPv6 client: invoke-rc.d: initscript dibbler-client, action
"stop" failed.
dpkg: warning: subprocess old pre-removal script returned error exit
status 1
dpkg - trying script from the new package instead ...
Stopping DHCPv6 client: invoke-rc.d: initscript dibbler-client, action
"stop" failed.
dpkg: error processing
/var/cache/apt/archives/dibbler-client_0.7.3-1.3_amd64.deb (--unpack):
subprocess new pre-removal script returned error exit status 1
No apport report written because MaxReports is reached already
Errors
were encountered while processing:
/var/cache/apt/archives/dibbler-client_0.7.3-1.3_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
So It looks I can't either delete the "dibbler-client" package, nor can
I upgrade it...
any ideal?
thanks alot !
regards
ping
More information about the ubuntu-users
mailing list