Tag Info

New answers tagged

-1

I figured out how to work around my issue by doing the installation like so: $ sudo dpkg -i --force-overwrite packagename It would appear that I was getting collisions from a different nginx package that had files in common with this new package. I opted for the heavy handed method and simply did the above, --force-overwrite.


0

You can try to reattach the session with a tool like reptyr, but that doesn't always work. You can kill apt, dpkg and their subprocesses at any time. All package maintenance tasks are supposed to resist a sudden power failure. Run the command again to complete it. Make sure to send a SIGINT or SIGTERM signal to APT and dpkg, not a SIGKILL. A SIGKILL would ...


3

The -u switch shows a list of packages that are available for upgrade: # apt-get -u upgrade From the apt-get manpage: -u --show-upgraded Show upgraded packages; Print out a list of all packages that are to be upgraded. Configuration Item: APT::Get::Show-Upgraded. You will also be prompted before anything is updated. For example: # apt-get -u ...


0

The question, if I understand it correctly, is: Given just a debian/ directory, i.e. a directory containing just the Debian packaging files for a software package, is there a way to use those packaging files to download and unpack the sources for that software package? The target get-orig-source in debian/rules can be defined, as described in Debian ...


0

You can't regain the session. And so you cannot do anything to interact with that process. I don't think the process is running. I guess the apt-get might have become a zombie by now. Anyway you can check the process using ps or top. If it's running, then let go and monitor it to finish. If it stays idle just kill it. And then you can simply run apt-get ...


1

I think it is ok to send them a SIGINT (keyboard interruption, i.e. Ctrl+C) signal: killall -SIGINT apt-get or killall -2 apt-get You may also try to do it twice or more


1

Try this: rpm -qf /etc/cron.daily/apt.cron That's the rpm command which tells you which package a file comes from (if any). In this case, the file comes from the apt package, which you have installed on your system for some reason. This is the "apt-rpm" port, which, as the name implies, can handle Fedora's RPM packages. It's kind of interesting as a ...


6

aptitude install means that you are invoking the install target of the aptitude program. apt install means you are invoking the install target of the apt binary. Note that the apt binary is very new. It arrived with the 1.0 release. And no, it is not short for aptitude, but is a separate binary. Both these commands install the packages that are given as ...


2

The package zip is purely virtual. What does this means? That any package under zip would allow you to use the compressor (I don't know why SteamOS is like that, Debian use a real package). So, instead, you should use apt-cache depends zip to find which packages provide the zip package, but I'm sure you would like instead the unzip package.


-1

The best way to have successful install is to go through the missing dependencies; a) find them on ubuntu sites and get it installed correctly. b) try to run the original apt-get install {package} command. If you try "sudo apt-get -f install" it'll cause issues because it was force installed in the first place and it will backfire on you eventually in ...


0

There is a bug in this repository: deb http://repo.kali.org/kali kali-bleeding-edge main Remove that repository. After kali.org has fixed that bug, you can use Bleeding Edge repositories again.


1

The possible solution would be to update Code::Blocks to the latest version. In Code::Blocks 13.12 clang is listed as one of the supported compilers.


2

I think there is something wrong with the: deb http://repo.kali.org/kali kali-bleeding-edge main I think you should wait for kali.org to fix it.


2

Often apt-get will prefer to remove dozens of packages instead of just updating a couple of other packages. I usually run aptitude in interactive mode, select the package I want to install with + and then inspect what other packages might be broken by this action (jump to the next "broken" package with the 'b' key. Often just updating those (again with +) ...


0

This is a bit long for a comment, so here goes... With regard to apt-show-versions, I also do not have wordpress installed, but I get much more information than you do, using the same command. Did you paste the whole output? root@orwell:/home/faheem# apt-show-versions -a wordpress Not installed wordpress 3.6.1+dfsg-1~deb6u4 squeeze debian.lcs.mit.edu ...


0

Regarding your last question, if you use the aptitude package manager, you can control quite carefully which extra dependencies are installed. This will not prevent the GNOME meta-package from installing LibreOffice, as that is a required dependency, but can help you to avoid getting lots of additional dependencies added in. In aptitude, go to "Options" --> ...


4

from man apt-get -y, --yes, --assume-yes Automatic yes to prompts; assume "yes" as answer to all prompts and run non-interactively. If an undesirable situation, such as changing a held package, trying to install a unauthenticated package or removing an essential package occurs then apt-get will abort. Configuration Item: ...


15

When you install gnome package, you're installing a "Desktop environment" which includes Libre Office and some others things like Gimp, Rhythmbox, Oregano, etc. If you want to install a "clean" gnome, use the gnome-core package. Here you can see what each package includes: https://packages.debian.org/stable/gnome-core ...


8

That's because gnome is a meta-package that brings in the full Gnome desktop environment which includes many, many things: $ apt-cache show gnome [ ... ] Description-en: Full GNOME Desktop Environment, with extra components This is the GNOME Desktop environment, an intuitive and attractive desktop, with extra components. . This meta-package depends on ...


2

Apparently running apt-get install linux-image-3.5.0-44-generic. solved the poster's problem, so as suggested by @terdon, I'm posting this as an answer. I'd like to know what went wrong and why this worked, but I'm guessing the poster is not interested in pursuing it further. If I am wrong, let me know...


1

After same error: apt-get update ### for resynchronize with your server apt-get -f install ### fixing your problem ####And if your problem stay still you have two way: ####at first run : dpkg --configure -a ### becuase after apt-get update , error of apt-get -f install may be changed ### two: wait to server will be changed


1

EDIT: To answer the original question, yes that is possible for the package managers that currently support weak dependencies. As an example, on Mageia that would equal to urpmi --no-suggests foo. For SuSe, that would be zypper in --no-recommends. Something like this has to be implemented for newer yum versions too, otherwise those soft depencies would be ...


0

After the failure to install, you can use: apt-get -f install This will automatically install the requested packages along with all the dependencies,


0

Sadly, is not possible with the Suite nor Codename. The most near you will get is using ?archive. aptitude search '?archive(stable)' I'm not sure if it's a limitation of the ABI, but aptitude does not provide searchs by neither Suite or Codename.


0

See What should I set my locale to and what are the implications of doing so? for a full overview of locale settings. In a nutshell, the one useful difference between C and en_US is the LC_CTYPE setting: C restricts applications to ASCII while en_US allows latin1. A good setting for a US English environment is to set LC_CTYPE=en_US.UTF-8, specifying the ...


2

In /var/lib/dpkg/info are .list text files that list all the files contained in each package¹ installed through Debian's package manager. Finding all files in the filesystem not matching any entry there can be achieved with something naïve like this: find / -xdev -type f -exec grep -xq "{}" /var/lib/dpkg/info/*.list \; -or -print This will obviously take ...


1

Make a wrapper script around /usr/bin/gpgv. Supply the pathname to the wrapper script as the value of Dir::Bin::gpg (using apt-get --option). Have the wrapper script examine the output and exit status of gpgv, and communicate failure back to the toplevel script somehow (I suggest using kill to send a signal).


2

apt routines are called whenever a system update is made (e.g. with Ubuntu's Update Manager). Any packages downloaded this way are kept for until you explicitly purge the, as you do when calling apt-get clean. If disk space is at a premium, and your update manager runs automatically every day at e.g 8:00, you can set up a cron job to run at 8:30 to do the ...


1

I'm no expert but this should work: sudo nano /etc/apt/sources.list Copy and paste the following line into the nano window: deb http://download.virtualbox.org/virtualbox/debian wheezy contrib Then: sudo apt-get update sudo apt-get install virtualbox-4.3 Here is the official webpage.


1

There is no package containing a vncserver-x11 binary in Ubuntu (or Debian). You can always check the Ubuntu Package Search to find files inside packages. A vncserver-x11 binary is part of RealVNC. You can download Debian-compatible installers for RealVNC from their website, which are likely to work on Ubuntu. The "generic installers" will probably work ...


1

dpkg --search do not show /etc/nsswitch.conf because it is not registered as conffile so it is a bit of a special case. For example dpkg -S /etc/deluser.conf can be used to identify package that owns /etc/deluser.conf file. With path omitted dpkg --search nsswitch.conf actually show results. I also like dlocate utility which is very helpful to find which ...


1

This appears to be Ubuntu bug #1236951. See the link for workarounds and the status of a fix.


1

You can run apt-get install -f. If this doesn't fix your system, then something is really wrong, and a fix might be to remove the TeX related packages and try again.



Top 50 recent answers are included