LinuxQuestions.org
Review your favorite Linux distribution.
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 04-21-2011, 06:08 PM   #1
gujedan
Member
 
Registered: Oct 2010
Posts: 121

Rep: Reputation: 1
how to make apt-get ignore broken packages


what should not be mentioned:
*disabling "Automatically fix broken packages before installing or removing" in aptitude -- because it does not work

*editing /var/lib/dkpg/status -- not related to apt-get really

* -m or -f options of apt-get -- because they do not help me in any way

* downloading the package manually and using dpkg --force-depends-version -i <package> -- again, not apt-get

I need the --just shut the fuck up and dl&install the darn package
option immediately.

Last edited by gujedan; 04-21-2011 at 06:10 PM.
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 04-21-2011, 06:37 PM   #2
alan_ri
Senior Member
 
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Blog Entries: 5

Rep: Reputation: 127Reputation: 127
What do you want to install?
 
Old 04-21-2011, 06:43 PM   #3
gujedan
Member
 
Registered: Oct 2010
Posts: 121

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by alan_ri View Post
What do you want to install?
I would like to be able to dl&install any package at all without apt giving me that shit about broken packages

Last edited by gujedan; 04-21-2011 at 06:46 PM.
 
Old 04-21-2011, 06:48 PM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,615
Blog Entries: 2

Rep: Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070
It would help if you actually tell us why
Code:
apt-get install aria2
doesn't work on your system. Because that is just the
Quote:
--just shut the f*** up and dl&install the darn package
option
 
Old 04-21-2011, 06:54 PM   #5
gujedan
Member
 
Registered: Oct 2010
Posts: 121

Original Poster
Rep: Reputation: 1
Code:
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 gnome : Depends: totem-mozilla but it is not going to be installed
         Depends: epiphany-extensions but it is not going to be installed
 gnome-core : Depends: epiphany-browser (>= 2.30) but it is not going to be installed or
                       gnome-www-browser
              Depends: totem (>= 2.30) but it is not going to be installed
 gnome-desktop-environment : Depends: ekiga (>= 3.2.6) but it is not going to be installed
                             Depends: empathy (>= 2.30) but it is not going to be installed
                             Depends: totem-plugins (>= 2.30) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
 
Old 04-21-2011, 06:57 PM   #6
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,615
Blog Entries: 2

Rep: Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070
Please post your /etc/apt/sources.list.
 
Old 04-21-2011, 07:00 PM   #7
gujedan
Member
 
Registered: Oct 2010
Posts: 121

Original Poster
Rep: Reputation: 1
deb http://security.debian.org/ squeeze/updates main contrib
deb-src http://security.debian.org/ squeeze/updates main contrib
deb http://http.us.debian.org/debian/ squeeze non-free contrib main
deb http://www.lamaresh.net/apt squeeze main
 
Old 04-21-2011, 07:07 PM   #8
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,615
Blog Entries: 2

Rep: Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070
I am not sure, but I think that I read somewhere that the US-mirrors have problems in the last time. Change it to a different mirror, update the database and try it again.
 
Old 04-21-2011, 07:12 PM   #9
gujedan
Member
 
Registered: Oct 2010
Posts: 121

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by TobiSGD View Post
I am not sure, but I think that I read somewhere that the US-mirrors have problems in the last time. Change it to a different mirror, update the database and try it again.
I'm sorry but I cannot see how the sources file is relevant to my question at all. And all the US-mirrors work just fine as I have previously installed quite a few packages with apt-get.

My questions stands: how do I make apt-get skip checking for broken packages and just dl&install what I want?
 
Old 04-21-2011, 07:20 PM   #10
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,615
Blog Entries: 2

Rep: Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070
Apt-get has no option to ignore broken packages. And it seems to me that either your package database or your mirror is not containing all the packages, since it is obvious that apt-get can't find packages that should be available even if you had only enabled the main repositories. Therefore the question for your sources.list and the recommendation to change the mirror.
 
Old 04-21-2011, 07:24 PM   #11
gujedan
Member
 
Registered: Oct 2010
Posts: 121

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by TobiSGD View Post
Apt-get has no option to ignore broken packages.
okay finally we get to the root of this thing. So I just need to rewrite apt-get or find another distro. And who the hell was stupid enough to not add apt-get an ignore option? (rhetorical question, I can read it from the man page)
 
Old 04-21-2011, 07:29 PM   #12
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,615
Blog Entries: 2

Rep: Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070
Quote:
Originally Posted by gujedan View Post
And who the hell was stupid enough to not add apt-get an ignore option? (rhetorical question, I can read it from the man page)
This makes absolutely no sense. Why should a package manager have an option to maintain a broken system? Wouldn't it be better to actually fix the system, instead of simply ignoring the symptoms? If you have broken dependencies your system is very likely to malfunction in a specific function, simply ignoring that will not help you.
 
Old 04-22-2011, 05:39 AM   #13
gujedan
Member
 
Registered: Oct 2010
Posts: 121

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by TobiSGD View Post
This makes absolutely no sense. Why should a package manager have an option to maintain a broken system? Wouldn't it be better to actually fix the system, instead of simply ignoring the symptoms? If you have broken dependencies your system is very likely to malfunction in a specific function, simply ignoring that will not help you.
The reason I use linux is because it enables me to do stuff I want. I don't care if it should or should not be done, but the bottom line is that I must be able to do it. If I want to screw up my fs by running fsck on a mounted partition then that is what I'm gonna do and that functionality has to be provided (and is, although you are given a warning before continuing).
There is nothing that pisses me off more than seeing "Access denied", "You can't do that" and other shit like that on my own system. What I want to do, I do. And if I want to maintain a broken system then that is exactly what I'm going to do.
 
Old 04-22-2011, 05:50 AM   #14
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,615
Blog Entries: 2

Rep: Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070
Then go for a LFS install, you will have the absolute power to break your system. Or use Slackware, dependency management on that system has to be done by the user. It is not the fault of the distro or the package-manager. You have chosen a distro that has, amongst others, stability as main goal. If you want to willfully break your system I would consider that a rather poor choice.
 
Old 04-22-2011, 06:20 AM   #15
gujedan
Member
 
Registered: Oct 2010
Posts: 121

Original Poster
Rep: Reputation: 1
those things require way too much work, I'm probably just gonna go with rewriting the necessary components of a major distro
 
  


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
[SOLVED] how to make apt-get ignore broken packages and missing dependencies gujedan Linux - Networking 3 03-20-2011 02:54 PM
apt-get install error, E: Broken packages Slick666 Debian 1 07-13-2007 01:53 PM
how to make apt-get ignore errors or dependencies? hisnumber666 Linux - Software 5 05-03-2006 08:01 PM
apt-get + broken packages = death ulaoulao Linux - Software 2 09-19-2004 10:55 AM
Making synaptic ignore broken packages ???? UsualTuxpect Linux - Software 5 09-05-2004 11:29 PM


All times are GMT -5. The time now is 11:52 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration