[Bug 796849] Re: E: Unable to synchronize mmap - msync (5: Input/output error) E: The package lists or status file could not be parsed or opened. E: _cache->open() failed, please report.
Bill Risch
brisch at qwest.net
Tue Jun 14 15:43:23 UTC 2011
Attached requested:
bill at ubuntu-Bill-amd64-6:~$ apt-get clean
E: Could not open lock file /var/cache/apt/archives/lock - open (13: Permission denied)
E: Unable to lock the download directory
bill at ubuntu-Bill-amd64-6:~$ apt-get update
E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
E: Unable to lock directory /var/lib/apt/lists/
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
bill at ubuntu-Bill-amd64-6:~$ sudo apt-get clean
[sudo] password for bill:
bill at ubuntu-Bill-amd64-6:~$ sudo apt-get update
Ign http://extras.ubuntu.com oneiric InRelease
Ign http://us.archive.ubuntu.com oneiric InRelease
Ign http://us.archive.ubuntu.com oneiric-updates InRelease
Ign http://us.archive.ubuntu.com oneiric-backports InRelease
Ign http://security.ubuntu.com oneiric-security InRelease
Get:1 http://extras.ubuntu.com oneiric Release.gpg [72 B]
Get:2 http://us.archive.ubuntu.com oneiric Release.gpg [198 B]
Skipped large amount of input
Fetched 13.7 MB in 1min 50s (124 kB/s)
Reading package lists... Done
bill at ubuntu-Bill-amd64-6:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
linux-headers-generic
The following packages will be upgraded:
at-spi2-core checkbox checkbox-gtk cpp-4.6 eog firefox firefox-globalmenu
firefox-gnome-support firefox-locale-en gcc-4.6 gcc-4.6-base gir1.2-atk-1.0
gir1.2-atspi-2.0 gir1.2-gtk-3.0 gnome-icon-theme gnome-orca gnome-user-guide
guile-1.8-libs launchpad-integration libatk1.0-0 libatk1.0-data
libatspi2.0-0 libfolks-telepathy22 libfolks22 libgail-3-0 libgcc1
libglib2.0-0 libglib2.0-bin libglib2.0-data libgomp1 libgtk-3-0 libgtk-3-bin
libgtk-3-common libieee1284-3 liblaunchpad-integration-3.0-1
liblaunchpad-integration-common liblaunchpad-integration1
liblaunchpad-integration1.0-cil libquadmath0 libsensors4 libstdc++6
libxfixes3 libxft2 libxi6 libxt6 libxxf86vm1 linux-headers-3.0-0
linux-image-3.0-0-generic mousetweaks python-httplib2
python-launchpad-integration python-pyatspi2 ubuntu-system-service whois
x11-common xorg xserver-xorg xserver-xorg-input-all xserver-xorg-video-all
59 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
4 not fully installed or removed.
Need to get 90.4 MB of archives.
After this operation, 239 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://us.archive.ubuntu.com/ubuntu/ oneiric/main linux-image-3.0-0-generic amd64 3.0-0.1 [37.0 MB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ oneiric/main linux-image-generic amd64 3.0.0.0.1 [2,548 B]
Get:3 http://us.archive.ubuntu.com/ubuntu/ oneiric/main linux-generic amd64 3.0.0.0.1 [1,744 B]
skipped more
Get:58 http://us.archive.ubuntu.com/ubuntu/ oneiric/main xserver-xorg-video-all amd64 1:7.6+7ubuntu1 [1,100 B]
Get:59 http://us.archive.ubuntu.com/ubuntu/ oneiric/main xserver-xorg-input-all amd64 1:7.6+7ubuntu1 [1,010 B]
Get:60 http://us.archive.ubuntu.com/ubuntu/ oneiric/main xserver-xorg amd64 1:7.6+7ubuntu1 [74.4 kB]
Get:61 http://us.archive.ubuntu.com/ubuntu/ oneiric/main xorg amd64 1:7.6+7ubuntu1 [1,564 B]
Fetched 90.4 MB in 9min 41s (155 kB/s)
Extracting templates from packages: 100%
Preconfiguring packages ...
dpkg: error: parsing file '/var/lib/dpkg/available' near line 12293 package 'base-files':
duplicate value for `Size' field
E: Sub-process /usr/bin/dpkg returned an error code (2)
bill at ubuntu-Bill-amd64-6:~$
I am not shure if this is a hardware problem
follows from synaptic manager
E: linux-headers-3.0-0: Package is in a very bad inconsistent state - you should reinstall it before attempting a removal.
I have been unable to remove this package via terminal commands or synaptic
Seems we have a catch 22 situation.
Here is an item from the kernel log
Jun 14 10:07:31 ubuntu-Bill-amd64-6 kernel: [ 21.619780] r8169 0000:03:00.0: eth0: link down
Jun 14 10:07:31 ubuntu-Bill-amd64-6 kernel: [ 21.619812] r8169 0000:03:00.0: eth0: link down
Jun 14 10:07:31 ubuntu-Bill-amd64-6 kernel: [ 21.620722] ADDRCONF(NETDEV_UP): eth0: link is not ready
Jun 14 10:07:33 ubuntu-Bill-amd64-6 kernel: [ 23.391089] r8169 0000:03:00.0: eth0: link up
Jun 14 10:07:33 ubuntu-Bill-amd64-6 kernel: [ 23.391910] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Jun 14 10:07:33 ubuntu-Bill-amd64-6 kernel: [ 23.535387] ioremap error for 0xc7ee3000-0xc7ee4000, requested 0x10, got 0x0
Jun 14 10:07:33 ubuntu-Bill-amd64-6 kernel: [ 24.001258] EXT4-fs (sdc5): re-mounted. Opts: errors=remount-ro,commit=0
Jun 14 10:07:33 ubuntu-Bill-amd64-6 kernel: [ 24.284660] EXT4-fs (sdc9): re-mounted. Opts: commit=0
Jun 14 10:07:33 ubuntu-Bill-amd64-6 kernel: [ 24.286273] EXT4-fs (sdc6): re-mounted. Opts: commit=0
Jun 14 10:07:34 ubuntu-Bill-amd64-6 kernel: [ 24.843057] EXT4-fs (sdc8): re-mounted. Opts: commit=0
Jun 14 10:07:34 ubuntu-Bill-amd64-6 kernel: [ 24.948387] EXT4-fs (sdc7): re-mounted. Opts: commit=0
Jun 14 10:07:38 ubuntu-Bill-amd64-6 kernel: [ 28.990705] EXT4-fs (sdc5): re-mounted. Opts: errors=remount-ro,commit=0
Jun 14 10:07:38 ubuntu-Bill-amd64-6 kernel: [ 28.992453] EXT4-fs (sdc9): re-mounted. Opts: commit=0
Jun 14 10:07:38 ubuntu-Bill-amd64-6 kernel: [ 28.993831] EXT4-fs (sdc6): re-mounted. Opts: commit=0
Jun 14 10:07:39 ubuntu-Bill-amd64-6 kernel: [ 29.511435] EXT4-fs (sdc8): re-mounted. Opts: commit=0
Jun 14 10:07:39 ubuntu-Bill-amd64-6 kernel: [ 29.632674] EXT4-fs (sdc7): re-mounted. Opts: commit=0
Jun 14 10:07:43 ubuntu-Bill-amd64-6 kernel: [ 34.090018] eth0: no IPv6 routers present
Jun 14 10:07:59 ubuntu-Bill-amd64-6 kernel: [ 50.247312] hda-intel: IRQ timing workaround is activated for card #2. Suggest a bigger bdl_pos_adj.
Here is the tail from syslog
Jun 14 10:07:33 ubuntu-Bill-amd64-6 anacron[1102]: Anacron 2.3 started on 2011-06-14
Jun 14 10:07:33 ubuntu-Bill-amd64-6 anacron[1102]: Normal exit (0 jobs run)
Jun 14 10:07:33 ubuntu-Bill-amd64-6 NetworkManager[934]: <info> (eth0): DHCPv4 state changed nbi -> preinit
Jun 14 10:07:33 ubuntu-Bill-amd64-6 dhclient: Listening on LPF/eth0/00:24:1d:18:cf:7b
Jun 14 10:07:33 ubuntu-Bill-amd64-6 dhclient: Sending on LPF/eth0/00:24:1d:18:cf:7b
Jun 14 10:07:33 ubuntu-Bill-amd64-6 dhclient: Sending on Socket/fallback
Jun 14 10:07:33 ubuntu-Bill-amd64-6 dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
Jun 14 10:07:33 ubuntu-Bill-amd64-6 kernel: [ 24.001258] EXT4-fs (sdc5): re-mounted. Opts: errors=remount-ro,commit=0
Jun 14 10:07:33 ubuntu-Bill-amd64-6 kernel: [ 24.284660] EXT4-fs (sdc9): re-mounted. Opts: commit=0
Jun 14 10:07:33 ubuntu-Bill-amd64-6 kernel: [ 24.286273] EXT4-fs (sdc6): re-mounted. Opts: commit=0
Jun 14 10:07:34 ubuntu-Bill-amd64-6 acpid: client connected from 939[0:0]
Jun 14 10:07:34 ubuntu-Bill-amd64-6 acpid: 1 client rule loaded
Jun 14 10:07:34 ubuntu-Bill-amd64-6 kernel: [ 24.843057] EXT4-fs (sdc8): re-mounted. Opts: commit=0
Jun 14 10:07:34 ubuntu-Bill-amd64-6 dhclient: DHCPOFFER of 192.168.0.4 from 192.168.0.1
Jun 14 10:07:34 ubuntu-Bill-amd64-6 dhclient: DHCPREQUEST of 192.168.0.4 on eth0 to 255.255.255.255 port 67
Jun 14 10:07:34 ubuntu-Bill-amd64-6 kernel: [ 24.948387] EXT4-fs (sdc7): re-mounted. Opts: commit=0
Jun 14 10:07:34 ubuntu-Bill-amd64-6 dhclient: DHCPACK of 192.168.0.4 from 192.168.0.1
Jun 14 10:07:34 ubuntu-Bill-amd64-6 NetworkManager[934]: <info> (eth0): DHCPv4 state changed preinit -> bound
Jun 14 10:07:34 ubuntu-Bill-amd64-6 NetworkManager[934]: <info> Activation (eth0) Stage 4 of 5 (IP4 Configure Get) scheduled...
Jun 14 10:07:34 ubuntu-Bill-amd64-6 NetworkManager[934]: <info> Activation (eth0) Stage 4 of 5 (IP4 Configure Get) started...
Jun 14 10:07:34 ubuntu-Bill-amd64-6 NetworkManager[934]: <info> address 192.168.0.4
Jun 14 10:07:34 ubuntu-Bill-amd64-6 NetworkManager[934]: <info> prefix 24 (255.255.255.0)
Jun 14 10:07:34 ubuntu-Bill-amd64-6 NetworkManager[934]: <info> gateway 192.168.0.1
Jun 14 10:07:34 ubuntu-Bill-amd64-6 NetworkManager[934]: <info> nameserver '205.171.3.25'
Jun 14 10:07:34 ubuntu-Bill-amd64-6 NetworkManager[934]: <info> nameserver '205.171.2.25'
Jun 14 10:07:34 ubuntu-Bill-amd64-6 dhclient: bound to 192.168.0.4 -- renewal in 35823 seconds.
Jun 14 10:07:34 ubuntu-Bill-amd64-6 NetworkManager[934]: <info> Activation (eth0) Stage 5 of 5 (IP Configure Commit) scheduled...
Jun 14 10:07:34 ubuntu-Bill-amd64-6 NetworkManager[934]: <info> Activation (eth0) Stage 4 of 5 (IP4 Configure Get) complete.
Jun 14 10:07:34 ubuntu-Bill-amd64-6 NetworkManager[934]: <info> Activation (eth0) Stage 5 of 5 (IP Configure Commit) started...
Jun 14 10:07:34 ubuntu-Bill-amd64-6 avahi-daemon[916]: Joining mDNS multicast group on interface eth0.IPv4 with address 192.168.0.4.
Jun 14 10:07:34 ubuntu-Bill-amd64-6 avahi-daemon[916]: New relevant interface eth0.IPv4 for mDNS.
Jun 14 10:07:34 ubuntu-Bill-amd64-6 avahi-daemon[916]: Registering new address record for 192.168.0.4 on eth0.IPv4.
Jun 14 10:07:34 ubuntu-Bill-amd64-6 avahi-daemon[916]: Joining mDNS multicast group on interface eth0.IPv6 with address fe80::224:1dff:fe18:cf7b.
Jun 14 10:07:34 ubuntu-Bill-amd64-6 avahi-daemon[916]: New relevant interface eth0.IPv6 for mDNS.
Jun 14 10:07:34 ubuntu-Bill-amd64-6 avahi-daemon[916]: Registering new address record for fe80::224:1dff:fe18:cf7b on eth0.*.
Jun 14 10:07:35 ubuntu-Bill-amd64-6 init: plymouth-stop pre-start process (1156) terminated with status 1
Jun 14 10:07:35 ubuntu-Bill-amd64-6 lightdm: PAM pam_open_session: NULL pam handle passed
Jun 14 10:07:35 ubuntu-Bill-amd64-6 NetworkManager[934]: <info> (eth0): device state change: ip-config -> activated (reason 'none') [70 100 0]
Jun 14 10:07:35 ubuntu-Bill-amd64-6 lightdm: PAM pam_getenvlist: NULL pam handle passed
Jun 14 10:07:35 ubuntu-Bill-amd64-6 NetworkManager[934]: <info> Policy set 'Wired connection 1' (eth0) as default for IPv4 routing and DNS.
Jun 14 10:07:35 ubuntu-Bill-amd64-6 NetworkManager[934]: <info> Activation (eth0) successful, device activated.
Jun 14 10:07:35 ubuntu-Bill-amd64-6 NetworkManager[934]: <info> Activation (eth0) Stage 5 of 5 (IP Configure Commit) complete.
Jun 14 10:07:38 ubuntu-Bill-amd64-6 anacron[1333]: Anacron 2.3 started on 2011-06-14
Jun 14 10:07:38 ubuntu-Bill-amd64-6 anacron[1333]: Normal exit (0 jobs run)
Jun 14 10:07:38 ubuntu-Bill-amd64-6 kernel: [ 28.990705] EXT4-fs (sdc5): re-mounted. Opts: errors=remount-ro,commit=0
Jun 14 10:07:38 ubuntu-Bill-amd64-6 kernel: [ 28.992453] EXT4-fs (sdc9): re-mounted. Opts: commit=0
Jun 14 10:07:38 ubuntu-Bill-amd64-6 kernel: [ 28.993831] EXT4-fs (sdc6): re-mounted. Opts: commit=0
Jun 14 10:07:39 ubuntu-Bill-amd64-6 kernel: [ 29.511435] EXT4-fs (sdc8): re-mounted. Opts: commit=0
Jun 14 10:07:39 ubuntu-Bill-amd64-6 kernel: [ 29.632674] EXT4-fs (sdc7): re-mounted. Opts: commit=0
Jun 14 10:07:43 ubuntu-Bill-amd64-6 kernel: [ 34.090018] eth0: no IPv6 routers present
Jun 14 10:07:45 ubuntu-Bill-amd64-6 ntpdate[1277]: step time server 91.189.94.4 offset -0.783022 sec
Jun 14 10:07:52 ubuntu-Bill-amd64-6 lightdm: PAM pam_close_session: NULL pam handle passed
Jun 14 10:07:56 ubuntu-Bill-amd64-6 rtkit-daemon[1467]: Successfully called chroot.
Jun 14 10:07:56 ubuntu-Bill-amd64-6 rtkit-daemon[1467]: Successfully dropped privileges.
Jun 14 10:07:56 ubuntu-Bill-amd64-6 rtkit-daemon[1467]: Successfully limited resources.
Jun 14 10:07:56 ubuntu-Bill-amd64-6 rtkit-daemon[1467]: Running.
Jun 14 10:07:56 ubuntu-Bill-amd64-6 rtkit-daemon[1467]: Watchdog thread running.
Jun 14 10:07:56 ubuntu-Bill-amd64-6 rtkit-daemon[1467]: Canary thread running.
Jun 14 10:07:56 ubuntu-Bill-amd64-6 rtkit-daemon[1467]: Successfully made thread 1465 of process 1465 (n/a) owned by '1000' high priority at nice level -11.
Jun 14 10:07:56 ubuntu-Bill-amd64-6 rtkit-daemon[1467]: Supervising 1 threads of 1 processes of 1 users.
Jun 14 10:07:58 ubuntu-Bill-amd64-6 rtkit-daemon[1467]: Successfully made thread 1470 of process 1465 (n/a) owned by '1000' RT at priority 5.
Jun 14 10:07:58 ubuntu-Bill-amd64-6 rtkit-daemon[1467]: Supervising 2 threads of 1 processes of 1 users.
Jun 14 10:07:58 ubuntu-Bill-amd64-6 rtkit-daemon[1467]: Successfully made thread 1471 of process 1465 (n/a) owned by '1000' RT at priority 5.
Jun 14 10:07:58 ubuntu-Bill-amd64-6 rtkit-daemon[1467]: Supervising 3 threads of 1 processes of 1 users.
Jun 14 10:07:58 ubuntu-Bill-amd64-6 rtkit-daemon[1467]: Successfully made thread 1472 of process 1465 (n/a) owned by '1000' RT at priority 5.
Jun 14 10:07:58 ubuntu-Bill-amd64-6 rtkit-daemon[1467]: Supervising 4 threads of 1 processes of 1 users.
Jun 14 10:07:58 ubuntu-Bill-amd64-6 rtkit-daemon[1467]: Successfully made thread 1473 of process 1465 (n/a) owned by '1000' RT at priority 5.
Jun 14 10:07:58 ubuntu-Bill-amd64-6 rtkit-daemon[1467]: Supervising 5 threads of 1 processes of 1 users.
Jun 14 10:07:59 ubuntu-Bill-amd64-6 kernel: [ 50.247312] hda-intel: IRQ timing workaround is activated for card #2. Suggest a bigger bdl_pos_adj.
Jun 14 10:07:59 ubuntu-Bill-amd64-6 rtkit-daemon[1467]: Successfully made thread 1474 of process 1465 (n/a) owned by '1000' RT at priority 5.
Jun 14 10:07:59 ubuntu-Bill-amd64-6 rtkit-daemon[1467]: Supervising 6 threads of 1 processes of 1 users.
Jun 14 10:07:59 ubuntu-Bill-amd64-6 rtkit-daemon[1467]: Successfully made thread 1475 of process 1465 (n/a) owned by '1000' RT at priority 5.
Jun 14 10:07:59 ubuntu-Bill-amd64-6 rtkit-daemon[1467]: Supervising 7 threads of 1 processes of 1 users.
Jun 14 10:17:01 ubuntu-Bill-amd64-6 CRON[1798]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
If you need more specifics please request.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/796849
Title:
E: Unable to synchronize mmap - msync (5: Input/output error) E: The
package lists or status file could not be parsed or opened. E:
_cache->open() failed, please report.
Status in “apt” package in Ubuntu:
Incomplete
Bug description:
Binary package hint: dpkg
12 packages upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 37.0 MB of archives. After unpacking 162 MB will be used.
Do you want to continue? [Y/n/?] y
E: I wasn't able to locate file for the linux-headers-3.0-0 package. This might mean you need to manually fix this package.
E: I wasn't able to locate file for the linux-headers-3.0-0 package. This might mean you need to manually fix this package.
E: Internal error: couldn't generate list of packages to download
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: dpkg 1.16.0~ubuntu8
ProcVersionSignature: Ubuntu 2.6.39-3.10-generic 2.6.39
Uname: Linux 2.6.39-3-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Mon Jun 13 16:50:12 2011
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Alpha amd64 (20110610)
ProcEnviron:
LANGUAGE=en_US:en
PATH=(custom, no user)
LANG=en_US.utf8
LC_MESSAGES=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: dpkg
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/796849/+subscriptions
More information about the foundations-bugs
mailing list