Forum

Full Version: Error apt-get!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,
I've installed a fresh Xbian 1.0 alpha 3 on my SD card but when I try to upgrade apt's sources, I got this error:
Quote:Reading package lists... Error!
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/aptmirror.no-ip.org_dists_wheezy_main_binary-armhf_Packages
E: The package lists or status file could not be parsed or opened.

...and I can't upgrade my system.
Can somebody help me?
Thanks!
Code:
sudo apt-get update
sudo apt-get upgrade
(21st Dec, 2012 09:16 AM)CurlyMo Wrote: [ -> ]
Code:
sudo apt-get update
sudo apt-get upgrade

Ok thanks but when I've downloaded all of the package, apt-get gave me an error:
Quote:Reading package lists... Error!
W: Architecture: all package 'audacious-dbg' can't be Multi-Arch: same
E: Problem parsing dependency Suggests
E: Error occurred while processing bcfg2-server (NewVersion2)
E: Problem with MergeList /var/lib/apt/lists/mirrordirector.raspbian.org_raspbian_dists_wheezy_main_binary-armhf_Packages
E: The package lists or status file could not be parsed or opened.
Can you try:
Code:
sudo rm -rf /var/lib/apt/lists/* -vf
sudo apt-get update
(21st Dec, 2012 08:26 PM)CurlyMo Wrote: [ -> ]Can you try:
Code:
sudo rm -rf /var/lib/apt/lists/* -vf
sudo apt-get update

Quote:xbian@xbian:~# sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
wpasupplicant
The following packages will be upgraded:
apt apt-utils bind9-host bsdutils coreutils cryptsetup-bin dpkg eject
gcc-4.7-base geoip-database git git-core git-man ifupdown initscripts
insserv libapt-inst1.5 libapt-pkg-dev libapt-pkg4.12 libbind9-80 libblkid1
libc-bin libc-dev-bin libc6 libc6-dev libcryptsetup4 libdns81 libgcc1
libglib2.0-0 libgnutls26 libgssapi-krb5-2 libisc83 libisccc80 libisccfg82
libk5crypto3 libkrb5-3 libkrb5support0 liblockfile-bin liblockfile1
liblwres80 liblzma5 libmount1 libmysqlclient18 libsasl2-2 libsasl2-modules
libssh-4 libssl1.0.0 libstdc++6 libsysfs2 libsystemd-login0 libtiff4
libtiff4-dev libtiffxx0c2 libusb-0.1-4 libuuid1 locales lockfile-progs
lsb-base mount multiarch-support mysql-common openssl perl perl-base
perl-modules rsync sysv-rc sysvinit sysvinit-utils tzdata unzip util-linux
vim-common vim-tiny xbian-package-kernel3.6.7 xbian-package-xbmc xz-utils
77 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Need to get 0 B/106 MB of archives.
After this operation, 6981 kB disk space will be freed.
Do you want to continue [Y/n]?
Extracting templates from packages: 100%
Preconfiguring packages ...
dpkg: error: parsing file '/var/lib/dpkg/available' near line 3302 package 'libwebkitgtk-3.0-0':
`Depends' field, syntax error after reference to package `li'
E: Sub-process /usr/bin/dpkg returned an error code (2)
Did you do my steps?

Code:
dpkg: error: parsing file '/var/lib/dpkg/available' near line 3302 package 'libwebkitgtk-3.0-0':
`Depends' field, syntax error after reference to package `li'
This error is a bug in the original raspbian repo, we can't do anything about it. Just install the rest and leave this package out.
I don't know if it's a real bug, but I've installed the newest kernel first (3.6.11+) and it was active after a reboot.
But after a "sudo apt-get update" + "sudo apt-get upgrade" + Reboot it was reverted back to the old one and I had to switch to the new one via xbian-config again.
Depends on what packages where installed...
Reference URL's