Advanced Packaging Tool, the package manager for Debian-based distributions. It is also the most used tool for installing packages in Ubuntu. Questions about using any of the apt tools should use this tag.

learn more… | top users | synonyms (1)

0
votes
1answer
63 views

Install PHP 5.4 on Ubuntu 14.04 LTS without Compiling

ppa:ondrej/php5-oldstable does not support PHP 5.4 for Ubuntu 13.10 and higher. There seems to be no official or a stable way to install PHP 5.4 instead of 5.5 on Ubuntu 14.04 LTS currently. I've seen ...
0
votes
1answer
42 views

sudo apt-get command not found

I cant run apt-get update or anything involves apt-get command. I tried dpkg --configure -a and this is what it said. root@lxoric-AOD270:/home/lxoric# sudo dpkg --configure -a Setting up ...
1
vote
3answers
157 views

apt-get install -f wants to remove linux-image-generic

I seem to remember doing the suggested autoremove earlier this year and bricking my system in the process. linux-headers-generic and linux-image-generic seem pretty important. phm@LuckyCompCo:~$ ...
1
vote
1answer
82 views

Getting 404 not found errors when doing `sudo apt-get update`

cat /etc/issue Ubuntu 14.04.1 LTS \n \l I am getting the following errors when doing sudo apt-get update, I have tried sudo apt-get dist-upgrade as recommended here but nothing seems to fix the ...
1
vote
3answers
141 views

How do I create a local repository accessible from a local chroot environment for O/S building?

I am interested in building my own custom Ubuntu remix, and have been doing so with the Ubuntu Mini Remix ISO. To do this, I mount the disk image and chroot into it, in a manner similar to this ...
0
votes
2answers
21 views

Installing graphite-carbon via apt unattended

I'm trying to create an automation script that install Graphite without user interaction (unattended). I try with the following command: sudo apt-get -q -y --force-yes install ...
0
votes
0answers
12 views

Errors were encountered while processing please help

I installed nmap but when I use apt-get update this message appears: Errors were encountered while processing: /var/cache/apt/archives/nmap_6.47-1~ppa1~u_amd64.deb
0
votes
1answer
28 views

Can't add cloud-archive:tools to repository

Trying to upgrade to MAAS 1.7, from 1.5, by updating apt-get repository; however, I am getting the following error: $ sudo add-apt-repository cloud-archive:tools Ubuntu Cloud Archive for cloud-tools ...
1
vote
1answer
26 views

Display PPA from which package will be downloaded during upgrade

I have many PPAs installed on my Trusty system. However, I feel that they might try to sneak packages into my system other than those which I include them in the first place. Technically, after adding ...
0
votes
0answers
8 views

Seeing incorrectly 'Hash Sum mismatch' via apt-get on a mirror…anybody else? [duplicate]

anybody else getting this on sudo apt-get clean all ; sudo apt-get update W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/precise-updates/restricted/binary-i386/Packages Hash Sum ...
0
votes
1answer
33 views

Unable to resolve “E: Unable to correct problems, you have held broken packages.”

In Ubuntu 12.04,I am trying to install less and handlers using npm.While installing npm I found this error sudo apt-get install npm Reading package lists... Done Building dependency tree ...
0
votes
0answers
16 views

Is boost in ubuntu repo broken?

I have Ubuntu 14.04.1 LTS When I apt-get install libboost-all-dev, there are no libs in /usr/lib/ (I use find /usr/lib -name "boost") and nowhere else in my FS. However, when I downloaded ...
0
votes
1answer
14 views

Cannot build on launchpad

I have succesfully uploaded my app to launchpad:However it fails to build on both i386 and amd64. Here is the link: https://launchpad.net/~mkamenjak/+archive/ubuntu/bugappppa/+packages Here is the ...
0
votes
0answers
38 views

Ubuntu 14.04 The update information is outdated [duplicate]

I am still new to linux and not sure what to do to solve this situation. I try to update the repository with the command: sudo apt-get update but it returns this error: W: Impossibile recuperare ...
1
vote
2answers
55 views

How to install MariaDB on Ubuntu 14.10?

After unsuccessful installation of the latest version of MariaDB through repository that is offered by official page (for Ubuntu 14.04) I've tried to install mariadb-5.5 which is already included in ...
0
votes
0answers
23 views

I cannot open exe files

I have tried installing wine but this fails. I use, sudo add-app-repository ppa:ubuntu-wine/ppa Then sudo apt-get update Finally sudo apt-get install wine1.7 winetricks It ends up by saying error ...
0
votes
2answers
23 views

Way to get apt-cache search to work as well as Synaptic search?

Say I want to uninstall the Dash item "Ubuntu Software Center". To uninstall it via CLI, I have to know what the .deb package is called. So I apt-cache search ubuntu-software-center but the only ...
1
vote
1answer
53 views

Software updater shows updates but not apt-get

This popped up: When I run apt-get in a terminal, however, I get: sudo apt-get dist-upgrade Reading package lists... Done Building dependency tree Reading state information... Done ...
1
vote
2answers
54 views

How can I find out if there is actually a cuda-toolkit-6-0 or similar in the apt-get repository (it should exist, but apt-get doesnt see it)?

On my NVidia Jetson TK1 I ran this command: sudo apt-get install cuda-toolkit-6-0 But got this output: Reading package lists... Done Building dependency tree Reading state information... ...
1
vote
1answer
37 views

Installing LyX on ubuntu 14.04 offline? [duplicate]

Since my school's firewall have blocked downloads exceed 150 MB, I can't install lyX using terminal. It's giving me a 404 and 403 errors. But I can download anything from my home machine literally. ...
1
vote
0answers
18 views

Installing package(s) from local repository [duplicate]

I used following method to install packages by local-repository mkdir /var/my-lcaol-repo and put all debs inside this folder Create /etc/apt/sources.list.d/my-local.list with deb ...
0
votes
1answer
49 views

E: Syntax error /etc/apt/apt.conf.d/00aptitude:4: Extra junk at end of file

ubuntu 14.04 Update manager: “A problem occurred when checking for the updates that is what appear when using terminal
0
votes
0answers
34 views

How to install Mesa 9.2 on Ubuntu 12.04

I want to install at least mesa 9.2. I am running 12.04 Precise Pangolin. Lots of places suggested xorg-edgers and oibaf, but every time I type sudo apt-get install mesa, it says package missing. I ...
1
vote
2answers
31 views

Install a list of packages and replace all errors

I have a list of packages I would like to install on a fresh Ubuntu. Since those is a quite old list, I would like so see the outcome, If I would replace the suggestions automatically. So all ...
0
votes
1answer
22 views

How to fix error temporary failure resolving 'archive.ubuntu.com'

I'm trying to install openvswitch on a Ubuntu VM(virtualbox) After executing sudo apt-get install openvswitch-switch I get the following errors: err http //archive.ubuntu.com/ubuntu/ trusty/main ...
1
vote
1answer
25 views

Difference between package and source on http://packages.ubuntu.com/

I wonder what difference there is between source and package at the top left corner here: http://packages.ubuntu.com/en/utopic/devel/gcc It says: - Source: gcc-defaults - Package: gcc I am aware ...
1
vote
1answer
37 views

Deleted /var/cache

My computer was slowing down, and I saw that deleting /var/log and /var/cache could help, so I did it... I didn't know /var/cache was so important, I tought it would just rebuild itself and deleting ...
0
votes
0answers
21 views

Xboxdrv driver corrupt. Will not let me install, or remove

PLEASE NOTE! I know this same question has already been asked, however none of the answer found on this site solved my problem! I have already gone through multiple answers on this site, and even ...
0
votes
0answers
20 views

Everything gone after apt-get remove python2.7

I recently upgraded to ubuntu 14.04 and I installed python2.7 and 3.4 both so I wanted to just keep 3.4 and I knew apt-get remove python would mess up with whole Distro of mine, So I being specific ...
0
votes
1answer
25 views

Errors adding software sources

Help! I'm running ubuntu 14.04 LTS With all updates installed. I can't add any sources. When I open software center and go edit>sources>other software. I hit add and enter "deb ...
1
vote
0answers
18 views

apt-mark Holding a pacakge to a major version (not a specific minor)

I want to hold versions of packages on my servers to prevent breaking changes in infrastructure from breaking our code (Changes from mongodb 2.4 to 2.6 for example..) I know I can (for example) ...
0
votes
1answer
60 views

New software can't be installed, because there is a problem with the software currently installed. Do you want to repair this problem now?

This is the details I get when the package operation fails if I click repair: installArchives() failed: E: Cannot get debconf version. Is debconf installed? debconf: apt-extracttemplates failed: No ...
0
votes
2answers
28 views

apt-get remove libstdc++-4.8-doc | 101MB will be freed?

Here's the output of apt-get remove libstdc++-4.8-doc on my system. $ sudo apt-get remove libstdc++-4.8-doc Reading package lists... Done Building dependency tree Reading state information... ...
0
votes
2answers
26 views

Why doesn't tsocks work with apt-get?

I am using tsocks to socksify my connections. When I run the following commands, apt-get isn't socksified: $ . tsocks -on $ sudo apt-get update However, when I run the whole thing in one line like ...
0
votes
0answers
26 views

Unable to install `ubuntu-sdk` because of unmet dependencies

I've just upgraded to Ubuntu 14.10 from 14.04 because I wanted to be able to use the newest version of the ubuntu-sdk packages. However when I try to install it after adding the ppa with sudo ...
0
votes
2answers
58 views

Unable to install software--Getting error code 1

I am unable to install any new software, and any apt-get command returns error code 1. In the Ubuntu Software Center, I get the error "New software can't be installed, because there is a problem with ...
1
vote
1answer
90 views

Using gcc 3.4 on Ubuntu 14.04

By exactly following this post, I was able to install gcc 3.4 on a fresh install of Ubuntu 14.04. But, when I try to compile a program, it fails with the following error: /usr/bin/ld: cannot find ...
0
votes
1answer
176 views

Using apt-get autoremove with Missing Dependencies

My Ubuntu server instance's /boot partition is currently at 100%, and I want to remove some unused/unneeded dependencies using sudo apt-get autoremove. However, it appears that I am missing some ...
1
vote
1answer
41 views

How do I get my DEB to install libstdc++.so.6.0.20?

On my development machine, I have /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20; on a fresh install of Ubuntu 14.04 I have /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.19. I'm taking my first baby ...
1
vote
1answer
17 views

gnuplot package not found

I have installed Ubuntu 14.04.1. I tried installing Gnupolot, gfortran using sudo ap get install, but the terminal shows 'unable to locate package gnuplot-x11' and 'The following package cannot be ...
0
votes
1answer
48 views

Can't delete all unused kernels

I am trying to remove all my unused kernels but it is not working. My dpkg --list | grep linux-image result is as follows: ii linux-image-3.13.0-24-generic 3.13.0-24.46 ...
0
votes
0answers
31 views

Why has 14.04 LTS no static libraries in some packages?

These are the udev development packages for the last three Ubuntu LTS releases. File list of package libudev-dev in lucid File list of package libudev-dev in precise File list of package libudev-dev ...
0
votes
2answers
42 views

How to install MySQL in Ubuntu Minimal 12.04

How can I install MySQL in Ubuntu Minimal 12.04? When I try to apt-get install mysql-server (as root) even after apt-get update and apt-get upgrade in a fresh install, I receive this: # Setting up ...
0
votes
1answer
19 views

Error installing applications

I've installed a Ubuntu live install with persistence mode on a USB stick using Linux Live USB creator. (Windows got corrupted while changing a .sys file, partition table was saved.) I'm not able to ...
1
vote
0answers
24 views

Why `apt-get dist-upgrade` in EC2 image does not update the kernel?

I've built a system running Ubuntu 14.04 on EC2, using the AMI from Ubuntu's cloud-images repository. The AMI includes kernel 3.13.0-37, but 3.13.0-39 is available as an update. After running ...
0
votes
0answers
10 views

Where can I find the softwares/programs that I installed from USC and can I change where apt installs programs? [duplicate]

I just recently Installed Ubuntu, and as you can guess, I'm not good at it. Questions: 1.) I just want to know where to locate the programs/softwares I installed from the Ubuntu Software Center. ...
0
votes
2answers
279 views

How to install Postgresql 9.3 instead of default 9.4 in Ubuntu 14.10?

I'm on Utopic Unicorn and I need to install Postgresql 9.3 server and client. When I try to autocomplete sudo apt-get install postgres, I see only 9.4 packages: postgresql ...
0
votes
1answer
78 views

How to resolve locales dependency on 12.04

sudo apt-get check 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 ...
0
votes
2answers
42 views

Install software with its dependencies from a local repo over LAN [duplicate]

I have a couple of Ubuntu 14.04 64 bit boxes. One of them can talk to internet (say Machine1) and the other can not due to network restrictions (say Machine2). Machine 2 needs some specific software ...
-1
votes
1answer
34 views

Repository problems [closed]

I have a fairly longstanding repository error that won't let me install software, among other things. I have avoided dealing with it, as I do not fully understand how the repository/verification ...