Tag Info

Hot answers tagged

14

The problem is the following (from man apt-get): install install is followed by one or more packages desired for installation or upgrading. Each package is a package name, not a fully qualified filename (for instance, in a Debian system, apt-utils would be the argument provided, not apt-utils_0.9.12.1_amd64.deb). ...


4

Update: There is a bug report on lp - https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1289977 From the above bug report, -Boot (14.04) from a pendrive -Mount my root file system (where /boot is) sudo mount /dev/sdaX /mnt /dev/sdaX is the location of your /boot directory -run: "sudo grub-install --boot-directory=/mnt//boot /dev/sdX" The exact ...


4

The following command returns the package name and its ppa (if installed from a ppa): apt-cache policy $(dpkg --get-selections | grep -v deinstall$ | awk '{ print $1 }') | perl -e '@a = <>; $a=join("", @a); $a =~ s/\n(\S)/\n\n$1/g; @packages = split("\n\n", $a); foreach $p (@packages) {print "$1: $2\n" if $p =~ /^(.*?):.*?500 ...


2

The source of an installed package can be checked using apt-cache, for example $ apt-cache policy oracle-java7-installer oracle-java7-installer: Installed: 7u51-0~webupd8~7 Candidate: 7u51-0~webupd8~7 Version table: *** 7u51-0~webupd8~7 0 500 http://ppa.launchpad.net/webupd8team/java/ubuntu/ precise/main i386 Packages 100 ...


2

A dependency is a package required by another package to complete its own functionality. There are two popular packaging mechanisms: debian RPM Both these mechanisms use the concept of dependencies. Ubuntu uses debian packaging. If A and B are two packages and A is a dependency for B, satisfying dependency means installing the version of package A as ...


1

If the package pkg1 depends on the package pkg2 and you install pkg1 then the package manager will automatically install pkg2 to satisfy this dependency. If you later remove pkg1 again, the package manager will not automatically remove pkg2. apt-get autoremove will remove packages like pkg2 that got installed not because you asked for it but because you ...


1

From the bash manual: Pathname Expansion: After word splitting, unless the -f option has been set, bash scans each word for the characters *, ?, and [. If one of these characters appears, then the word is regarded as a pattern, and replaced with an alphabetically sorted list of file names matching the pattern. If no matching file ...


1

Download the .deb file for 32-bit or 64-bit. Install it with dpkg -i path/to/download.deb It may (probably) complain that some dependencies are missing, if so, install them. If you need a higher version, look around here for the one in precise fitting your needs.


1

the version of apt-cacher running on the proxy host is out of date. see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=600893 and https://bugs.launchpad.net/ubuntu/+source/apt-cacher/+bug/561902 in my case I found that because I had modified /etc/apt-cacher/apt-cacher.conf on my proxy host, regular apt[itude] upgrades had not updated apt-cacher.conf I ...


1

If you already know the .deb file link, then download that deb file by, wget https://url.to.package.deb If you want to download a package then run, apt-get download <package-name> It will download all the .deb files related to the package.Finally install all the .deb files by running, sudo dpkg -i filename.deb


1

From the comments, the output of sudo apt-get autoremove is, $ sudo apt-get autoremove 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. linux-image-generic-lts-saucy : Depends: ...


1

The .run file is a binary that installs packages outside of the package manager. apt-get wouldn't be able to remove them since it never installed them (unless the .run file manually adds the repos, and then just pulls down the packages. It might do this, I've never used it.) Postgres provides their own repos for Ubuntu, and that is the preferred method to ...


1

In accordance with this answer and this post, you can get a list of all packages from all the PPAs installed on your system using the following bash code: for APT in $(find /etc/apt/ -name \*.list); do grep -o "^deb http://ppa.launchpad.net/[a-z0-9\-]\+/[a-z0-9\-]\+" $APT | while read ENTRY ; do USER=$(echo $ENTRY | cut -d/ -f4) PPA=$(echo ...


1

It shows 404 not found error because the PPA is not yet updated for the newer release(trusty).To install boot-repair in Ubuntu 14.04, run the below commands on terminal sudo add-apt-repository ppa:yannubuntu/boot-repair sudo sh -c "sed -i 's/trusty/saucy/g' /etc/apt/sources.list.d/yannubuntu-boot-repair-trusty.list" sudo apt-get update sudo apt-get install ...


1

dist-upgrade does NOT upgrade the system. From the apt-get man page: dist-upgrade In addition to performing the function of upgrade, this option also intelligently handles changing dependencies with new versions of packages; apt-get has a "smart" conflict resolution system, and it will attempt to upgrade the most important packages at the expense ...



Only top voted, non community-wiki answers of a minimum length are eligible