LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-17-2016, 06:20 AM   #1
kicker86
LQ Newbie
 
Registered: Jun 2016
Posts: 3

Rep: Reputation: Disabled
Apt-get is broken after unexpected shutdown


Hi

Apt is broken on my server after i got shutdown in middle of an installation.

http://i.imgur.com/1OQDHmi.png

Any idea on how I can fix this? I want to keep libc6 version 2.13-38. The problem happened after someone added wrong version in sources.list

Running debian 6.

Last edited by kicker86; 06-17-2016 at 06:22 AM.
 
Old 06-17-2016, 10:09 AM   #2
sgosnell
Senior Member
 
Registered: Jan 2008
Location: Baja Oklahoma
Distribution: Debian Stable and Unstable
Posts: 1,943

Rep: Reputation: 538Reputation: 538Reputation: 538Reputation: 538Reputation: 538Reputation: 538
Someone? Someone has the root password, obviously. Could that someone be kicker86?

Why are you still running 6? Wheezy is Oldstable, Squeeze is history. Trying to update it is pointless, other than getting security updates, if any. You can try fixing sources.list and running another update. Other than that, I have no suggestions.
 
Old 06-19-2016, 05:07 AM   #3
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 18,380
Blog Entries: 12

Rep: Reputation: 5618Reputation: 5618Reputation: 5618Reputation: 5618Reputation: 5618Reputation: 5618Reputation: 5618Reputation: 5618Reputation: 5618Reputation: 5618Reputation: 5618
please post output of
Code:
cat /etc/apt/sources.list /etc/apt/sources.list.d/*
and also run a
Code:
sudo apt-get update
sudo apt-get upgrade
(and post its output)
 
Old 06-20-2016, 01:17 PM   #4
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873
rerun apt-get update and see if things auto-correct. If the install is important to you, then back it up before risking further damage. The libc6 and bin-utils stuff is kind of dangerous to fiddle with, but hopefully that's not what went south.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Centos 6 repeat unexpected shutdown Gil Hardwick Linux - General 1 03-27-2013 12:30 AM
unexpected shutdown abhijeetdutta Linux - Hardware 3 01-14-2010 12:48 PM
RHEL 4.4: Unexpected shutdown toravionly Linux - General 5 04-01-2009 10:21 AM
Unexpected Shutdown dastech Linux - Enterprise 3 11-03-2008 03:31 AM
Unexpected shutdown ammaro Linux - Software 1 04-21-2007 06:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:22 AM.

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