files list file for package 'libvorbis0a:i386' is missing final newline, E: Sub-process /usr/bin/dpkg returned an error code (2)
root@vaga-
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
dpkg libdpkg-perl libmbim-glib0 libmm-glib0 libnautilus-
libunity-
oneconf-common python-oneconf python3-oneconf unity-control-
14 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/4,203 kB of archives.
After this operation, 109 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
dpkg: unrecoverable fatal error, aborting:
files list file for package 'libvorbis0a:i386' is missing final newline
E: Sub-process /usr/bin/dpkg returned an error code (2)
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- surendra
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
I was trying to uninstall the libvorbis0a package from Ubuntu software centre and got the following result :
Package dependencies cannot be resolved
This error could be caused by required additional software packages which are missing or not installable. Furthermore there could be a conflict between software packages which are not allowed to be installed at the same time.
The following packages have unmet dependencies:
indicator-
libcanberra-pulse: Depends: libc6 (>= 2.3.6-6~) but 2.19-0ubuntu6.6 is to be installed
libcanberra0: Depends: libasound2 (>= 1.0.16) but 1.0.27.2-3ubuntu7 is to be installed
libcheese-gtk23: Depends: cheese-common (= 3.10.2-0ubuntu2) but 3.10.2-0ubuntu2 is to be installed
libpulse0:
***Cannot remove the package or uninstall it. Also not able to update any Software update from Terminal as well as from notification. Neither can install or add any new software into the system.
Revision history for this message
|
#2 |
Please provide the output of the following diagnostic commands:
uname -a
lsb_release -crid
sudo dpkg --audit
apt-cache policy
apt cache policy 'libvorbis0a:i386'
Revision history for this message
|
#3 |
Hello... This is the detail which you have asked me and posted below :
root@vaga-
root@vaga-
Linux vaga-m 3.13.0-68-generic #111-Ubuntu SMP Fri Nov 6 18:18:09 UTC 2015 i686 i686 i686 GNU/Linux
root@vaga-
Distributor ID: Ubuntu
Description: Ubuntu 14.04.3 LTS
Release: 14.04
Codename: trusty
root@vaga-
root@vaga-
Package files:
100 /var/lib/
release a=now
500 http://
500 http://
release v=14.04,
origin ppa.launchpad.net
500 http://
500 http://
release v=14.04,
origin ppa.launchpad.net
500 http://
release v=14.04,
origin extras.ubuntu.com
500 http://
500 http://
500 http://
500 http://
500 http://
release v=14.04,
origin archive.ubuntu.com
500 http://
release v=14.04,
origin archive.ubuntu.com
500 http://
release v=14.04,
origin archive.ubuntu.com
500 http://
release v=14.04,
origin archive.ubuntu.com
500 http://
500 http://
500 http://
500 http://
100 http://
release v=14.04,
origin archive.ubuntu.com
100 http://
release v=14.04,
origin archive.ubuntu.com
100 http://
release v=14.04,
origin archive.ubuntu.com
100 http://
release v=14.04,
origin archive.ubuntu.com
500 http://
500 http://
500 http://
500 http://
500 http://
release v=14.04,
origin archive.ubuntu.com
500 http://
release v=14.04,
origin archive.ubuntu.com
500 http://
release v=14.04,
origin archive.ubuntu.com
500 http://
release v=14.04,
origin archive.ubuntu.com
500 http://
500 http://
500 http://
500 http://
500 http://
release v=14.04,
origin archive.ubuntu.com
500 http://
release v=14.04,
origin archive.ubuntu.com
500 http://
release v=14.04,
origin archive.ubuntu.com
500 http://
release v=14.04,
origin archive.ubuntu.com
Pinned packages:
root@vaga-
E: Invalid operation cache
Still unable to update any updates displayed on software centre.
Revision history for this message
|
#4 |
I have reinstalled Ubuntu twice since have faced various issue while booting Ubuntu 14.04. Lost my important data but anyhow have saved a copy of my encrypted private data from media folder and will try to access it as soon as i recover from this issue of 'libvorbis0a:i386'. But need more insight on how to access this folder to view all files as soon as i update all software. Let me please know about it.
Revision history for this message
|
#5 |
Thank you for the output that you provided, and sorry that my last command contained a typo error.
Please add the output of the commands
apt-cache policy 'libvorbis0a:i386'
ls -l /var/lib/
Revision history for this message
|
#6 |
Details for the above query are stated below :
root@vaga-
libvorbis0a:
Installed: 1.3.4-2~trusty1
Candidate: 1.3.4-2~trusty1
Version table:
*** 1.3.4-2~trusty1 0
500 http://
100 /var/lib/
1.
500 http://
root@vaga-
-rw-r--r-- 1 root root 389 Nov 23 07:25 /var/lib/
-rw-r--r-- 1 root root 373 Jun 20 20:33 /var/lib/
-rwxr-xr-x 1 root root 135 Jun 20 20:32 /var/lib/
-rwxr-xr-x 1 root root 132 Jun 20 20:32 /var/lib/
-rw-r--r-- 1 root root 24 Jun 20 20:32 /var/lib/
-rw-r--r-- 1 root root 3689 Jun 20 20:32 /var/lib/
Revision history for this message
|
#7 |
Ok, try the following:
echo '"">> /var/lib/
sudo apt-get upgrade
and report the result.
Revision history for this message
|
#8 |
Hello tried the above command but nothing real happen. Result's are stated below.
root@vaga-
>
> sudo apt-get upgrade
>
Revision history for this message
|
#9 |
Sorry, apparently there was a typo error in my command. It should be two double quotes.
echo "">> /var/lib/
The echo command will not show any output, but should return you to the normal prompt.
Does running apt-get commands then work, or do you still get error messages (maybe now different ones)?
Revision history for this message
|
#10 |
Manfred sorry but still its not solved. Shows the same error when you go for update. Results are stated below.
root@vaga-
root@vaga-
root@vaga-
Hit http://
Ign http://
Ign http://
Hit http://
Hit http://
Hit http://
Hit http://
Get:1 http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Ign http://
Get:2 http://
Ign http://
Get:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
Get:7 http://
Get:8 http://
Get:9 http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Ign http://
Ign http://
Ign http://
Ign http://
Fetched 158 kB in 36s (4,306 B/s)
Reading package lists... Done
root@vaga-
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
dpkg libdpkg-perl libmbim-glib0 libmm-glib0 libnautilus-
libunity-
oneconf-common python-oneconf python3-oneconf unity-control-
14 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/4,203 kB of archives.
After this operation, 109 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
dpkg: unrecoverable fatal error, aborting:
files list file for package `libvorbis0a:i386' contains empty filename
E: Sub-process /usr/bin/dpkg returned an error code (2)
Revision history for this message
|
#11 |
vaga@vaga-m:~$ sudo apt-get dist-upgrade
[sudo] password for vaga:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
dpkg libdpkg-perl libmbim-glib0 libmm-glib0 libnautilus-
libunity-
oneconf-common python-oneconf python3-oneconf unity-control-
14 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/4,203 kB of archives.
After this operation, 109 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
dpkg: unrecoverable fatal error, aborting:
files list file for package `libvorbis0a:i386' contains empty filename
E: Sub-process /usr/bin/dpkg returned an error code (2)
vaga@vaga-m:~$
Revision history for this message
|
#12 |
The error message is slightly different, no more "files list file for package 'libvorbis0a:i386' is missing final newline" but now "files list file for package `libvorbis0a:i386' contains empty filename".
Try the following:
sudo rm /var/lib/
sudo apt-get install --reinstall libvorbis0a:i386
sudo apt-get update
Revision history for this message
|
#13 |
Manfred appreciate for your time, effort spend for resolving this problem. Other guys too from Ubuntu & community giving back end support to many people out there.
Revision history for this message
|
#14 |
Manfred success....it worked. Thanks a lot buddy. Let me install all other updates and software. Really appreciate for your support.