LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 01-27-2014, 01:11 AM   #31
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637

You're welcome
 
Old 01-27-2014, 04:08 AM   #32
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
There is a basic problem with the entire APT system somewhere. This is what the start of the thread was about.

Then he decides, with a screwed package management system, to install more packages without straightening out the package manager first.

Going back over the thread you will see I suggested;
dpkg --audit
apt-get clean
dpkg --clear-avail

At that time they may have done some good, would undoubtedly shown up the fglrx-driver problem, and may have cleaned up what ever was strange in this new install.

May still help. Continuing to add up things not completely installed and opperations to install them will not be helpful. The base of the problem must be addressed first.
 
Old 01-27-2014, 04:32 AM   #33
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637
Quote:
Originally Posted by widget View Post
There is a basic problem with the entire APT system somewhere. This is what the start of the thread was about.
The thread actually started because of a malformed sources.list line. That in itself is not a big problem to overcome. The next problem come with attempting to restart the machine after it jammed, I'm not sure we can blame that on APT. The next problem is that on reboot he can't get anything but a console.

After having read the entire thread again I'm not sure it helped moving from aptitude to apt-get either. I know the databases have been "fixed" so the commands can apparently work ok but it is always best to use one and stick to it. Maybe if he stuck with, and we suggested he stick with, aptitude apt would have provided the options.

Post 3 suggests there are 14 updates available (that was using aptitude not apt-get) so my next suggestion would be to
Code:
aptitude update && aptitude upgrade
if there are any outstanding dependency issues aptitude will say what they are and make recommendations. After that is done we can work on the problem of not getting anything but a console.
 
Old 01-27-2014, 04:29 PM   #34
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
Sounds great to me.
 
Old 01-27-2014, 08:35 PM   #35
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484

Original Poster
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Trying your suggestion,k3lt01 and running "aptitude update && aptitude upgrade"

It might take me a while to type it all out so you can see all the output--
Be back in a few minutes.
 
Old 01-27-2014, 09:01 PM   #36
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484

Original Poster
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
The mouse is not working in console mode so I was only able to show you all of the text of what's on my screen, sorry.

Code:
Get: 6 http://ftp.us.debian.org wheezy-backports/main amd64 2014/27-2014.32.p
diff [2983 B]
Hit http://debian.net wheezy Release
Hit http://http.debian.net wheezy/main amd64 Packages
Hit http://http.debian.net wheezy/contrib amd64 Packages
Fetched 160 kB in 6s (23.4kB/s)
W: Failed to fetch http://ftp.us.debian.org/debian/dists/wheezy/Release Unable to find 
expected entry or malformed file)
W: Failed to fetch http://security.debian.org/dists/wheezy/updates/Release:Unab
le to find expected entry 'non/source/Sources' in Release file (Wrong sources.li
st entry or malformed file)
W: Failed to fetch http://http.debian.net/debian/dists/wheezy/Release:Unable to
list entry or malformed file
E: Some index files failed to download. They have been ignored, or old ones used
instead.
E: Couldn't rebuild package cache

Current status: 35744 new (+6)
 
Old 01-27-2014, 09:49 PM   #37
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
There still seems to be a problem with your sources.list, please post it again.

Tip: To scroll on the command-line use Shift+PageUp/ÜageDown.
 
Old 01-27-2014, 09:57 PM   #38
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637
Ok now run
Code:
aptitude clean
this will clear your cache of all the debs that are in there. We will do this because aptitude is complaing that it can't rebuild the package cache. Once you have done that run
Code:
aptitude update && aptitude upgrade
again.
 
Old 01-27-2014, 10:07 PM   #39
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484

Original Poster
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by TobiSGD View Post
There still seems to be a problem with your sources.list, please post it again.

Tip: To scroll on the command-line use Shift+PageUp/ÜageDown.
Thanks for the tip!

Code:
deb http://security.debian.org/ wheezy/updates main contrib non free
deb-src http://security.debian.org/ wheezy/updates main contrib non free
deb http://ftp.us.debian.org/debian wheezy main contrib non free
deb http://ftp.us.debian.org/debian wheezy-backports main contrib non free
deb http://http.debian.net/debian/ wheezy main contrib non free
 
Old 01-27-2014, 10:47 PM   #40
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484

Original Poster
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by k3lt01 View Post
Ok now run
Code:
aptitude clean
this will clear your cache of all the debs that are in there. We will do this because aptitude is complaing that it can't rebuild the package cache. Once you have done that run
Code:
aptitude update && aptitude upgrade
again.
Code:
Hit http://ftp.us.debian.org wheezy Release.gpg
Hit http://ftp.us.debian.org wheezy-backports Release .gpg
Hit http://ftp.us.debian.org wheezy Release
Hit http://security.debian.org wheezy/updates Release. gpg
Hit http://ftp.us.debian.org wheezy-backports Release
Hit http://ftp.us.debian.org wheezy/main amd64 Packages
Hit http://security.debian.org wheezy/updates Release
Hit http://ftp.us.debian.org wheezy/contrib amd64 Packages
Hit http://http.debian.net wheezy-backports/main amd64 Packages/Diff Index
Hit http://ftp.us.debian.org wheezy-backports/main amd64 Packages DiffIndex
Hit http://security.debian.org wheezy/updates main Sources
Hit http://ftp.us.debian.org wheezy-backports/contrib amd64 Packages DiffIndex
Hit http://security.debian.org wheezy/updates/contrib Sources
Hit http://debian.net wheezy Release
Hit http://debian.net wheezy/contrib amd64 Packages
Hit http://http.debian.net wheezy/main amd64 Packages
74% [Working}Failed to fetch
All of the rest of the output is identical to that in post #36

Last edited by Ztcoracat; 01-27-2014 at 10:49 PM.
 
Old 01-27-2014, 10:55 PM   #41
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637
Unless you really want to download the source tarballs you really don't need this line
Code:
deb-src http://security.debian.org/ wheezy/updates main contrib non free
I also wonder if you could use a better repository location for where you are. It may be worth your while taking a look at this. Although having said that you do have the debian.net listed in one line (I'd do it in 3 of the 4 lines) so in theory that should find the closest and fastest location for you. If I were you I would set my repository up like this instead
Code:
deb http://http.debian.net/debian wheezy main contrib non-free
deb http://security.debian.org/ wheezy/updates main
deb http://http.debian.net/debian/ wheezy-updates main contrib non-free
deb http://http.debian.net/debian wheezy-backports main

Last edited by k3lt01; 01-27-2014 at 11:23 PM. Reason: Edited as per Tobi's post #43
 
Old 01-27-2014, 10:59 PM   #42
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637
Quote:
Originally Posted by Ztcoracat View Post
All of the rest of the output is identical to that in post #36
That says to me there is a temporary problem with the us servers. I recommend you change your repository to the format in the post above this one.
 
Old 01-27-2014, 11:07 PM   #43
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Do you have typed the sources list by hand or did you copy and paste to the forum? I ask because you have listed "non free" as repository behind any entry, where it should be "non-free", as seen in k3lt01's sources.list. Also, keep in mind that the wheezy/updates repository (the one pointing at security.debian.org) does not have the contrib and non-free subsections.
 
Old 01-27-2014, 11:22 PM   #44
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637
I think he would be typing by hand otherwise there would have been errors for that. I have edited my previous post as well (I forgot about security just being main).
 
Old 01-27-2014, 11:24 PM   #45
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484

Original Poster
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by k3lt01 View Post
That says to me there is a temporary problem with the us servers. I recommend you change your repository to the format in the post above this one.
I completely deleted this line in my sources list-
Code:
deb-src http://security.debian.org/ wheezy/updates main contrib non free
My sources list now reflects exactly the repository list you posted and reccommended-
Cheers!

Why does my sources list text appear in the terminal: in green, red and pink colored text?
 
  


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
Fixing recursive fault screen umbloaded Linux - General 2 06-18-2013 03:39 AM
Wheezy to Testing: About my sources.list aquaboot Debian 2 05-25-2013 02:21 PM
wheezy updates in sources.list rng Debian 12 02-25-2013 10:26 AM
Fixing recursive fault but reboot is needed! vkmgeek Programming 2 01-02-2008 07:03 PM
Need Recommendation for Debian Etch sources.list ( /etc/apt/sources.list ) forgox Debian 6 05-05-2007 01:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 08:01 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