LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-22-2015, 12:08 PM   #1
lsma
LQ Newbie
 
Registered: Dec 2015
Posts: 2

Rep: Reputation: 0
I get an error whenever I try to install something with apt-get


I am using a Raspberry Pi 2B with Raspbian.

Whenever I try to install something using apt-get, it will download the package, but then it it fails to install it, giving me this error:

Code:
dpkg: unrecoverable fatal error, aborting:
 files list file for package `adwaita-icon-theme' contains empty filename
E: Sub-process /usr/bin/dpkg returned an error code (2)
I do not know how to fix this.
 
Old 12-22-2015, 02:07 PM   #2
coralfang
Member
 
Registered: Nov 2010
Location: Bristol, UK
Distribution: Slackware, FreeBSD
Posts: 836
Blog Entries: 3

Rep: Reputation: 297Reputation: 297Reputation: 297
Possible that some of the files in a package became corrupt somehow, you could try reinstalling the package it mentions;
Code:
sudo apt-get --reinstall install adwaita-icon-theme
 
Old 12-22-2015, 07:03 PM   #3
lsma
LQ Newbie
 
Registered: Dec 2015
Posts: 2

Original Poster
Rep: Reputation: 0
I think it was an issue with the SD card, since I had a lot of other weird problems with missing or broken stuff. I re-installed Raspbian on a more quality MicroSD card and everything is working swimmingly.
 
Old 12-23-2015, 04:23 AM   #4
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
ok, please mark this solved.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apt-get install error \/4A Linux - Server 3 07-03-2013 11:16 AM
apt error after upgrade and 'apt-get -f install' does not sort it out zimgir Ubuntu 1 01-12-2012 10:09 PM
error apt-get install kill_proo Linux - Software 2 01-06-2012 09:44 AM
Horrid error on apt-get install havock Debian 4 12-21-2011 11:18 AM
apt-get -f install error okkiepepernoot Linux - Newbie 1 10-23-2006 11:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration