Problem with installing packages thru command line

Asked by Michal Dziczkowski

I have a question because I'm not sure if it qualify as bug.

I run on my computer temporary a ubuntu 14.10 from a liveCD for data backup and other propouses. When I wanted to install a needed softtware, I had run from bash following command (of corse, I will trunchate the name of software I want to install for personal reasons):

`apt-get --allow-unauthenticated --force-yes --assume-yes --fix-missing --show-progress --no-install-recommends --no-upgrade install [app name]`

and even if I used the switches "--no-install-recommends" and "--no-upgrade", it's beeing forced to update all existing packages, with "eats" all avaliable space and the install get interrupted with a "broken pipe" and "no space left"

Any ideas what's wrong and how to quickly solve it?

And before any unnessecary questions: no, I cannot install the system on the disk because it would erase all data I want to backup

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

Can you verify whether all these packages are direct or indirect dependencies of the package that you want to install?

How many packages are being updated?

You have to be aware, that during update the packages are downloaded to /var/cache/apt/archive.
Maybe there is the possibility to upgrade only few of the packages, then clean /var/cache/apt/archive, do the upgrade on some more, clean again and so on, to prevent running out of space.

It is hard to verify the problem, if you do not tell the name of the package that you want to install.

Another possibility could be to download the .deb file for the package to install, install it with dpkg --force-depends, and then verify with dpkg --audit what dependencies you have to fulfill in a second step.

Can you help with this problem?

Provide an answer of your own, or ask Michal Dziczkowski for more information if necessary.

To post a message you must log in.