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)

-1
votes
1answer
118 views

dpkg install environment

I'm trying to creat a .deb that, as part of its installation process, pings an external server. So I have an install_foobar script which does the install. However, I can't get install_foobar to ...
1
vote
1answer
95 views

How to cancel holding of a package

I got a MID based on ubuntu os.The version if its software is pretty old.So I decide to upgrade the system.But apt-get upgrade does not work,it appears packages are prevented from upgrade.I can I ...
12
votes
3answers
3k views

Why do some packages conflict with themselves?

After an upgrade to Oneiric I have had some troubles with the package manager (it wanted to remove half of my system, including libc6, zlib1g packages etc). During the fight with aptitude I've noticed ...
2
votes
2answers
721 views

How do I downgrade gracefully from gnome3

I installed the latest gnome3 from webupd8's ppas and somehow borked my system. while doing a ppa-purge it somehow decided to remove the ubuntu-desktop meta package now while i'm trying to get back ...
12
votes
1answer
22k views

Ubuntu not booting: “Could not write bytes: broken pipes”

The problem When I boot Ubuntu 11.10, the boot process hangs, before even getting to the login screen of the display manager, with the message Could not write bytes: broken pipes at the top of the ...
3
votes
1answer
2k views

php5-mysql install, error 404 Not Found

I get this message when I try to install php5-mysql http://ports.ubuntu.com/ubuntu-ports/pool/main/p/php5/php5-mysql_5.3.3-1ubuntu9.7_powerpc.deb 404 Not Found It's the same when I try both the ...
3
votes
3answers
2k views

Ctrl + Page Down && Ctrl + Page Up

I use a MacBook pro and am using Linux Mint. I know this is an Ubuntu forum but Mint is built on top of Ubuntu so I am trying here. The Macbook Pro doesn't have a Page Down or Page Up button. ...
1
vote
0answers
578 views

How to solve apt-errors encoutered while processing linux-image-2.6.35-31-generic-pae? [closed]

Please anybody! help me remove this problem. am using ubuntu 11.04. i have tried all things!! hillary@Mobile:~$ sudo apt-get install -f [sudo] password for hillary: Reading package lists... Done ...
3
votes
1answer
7k views

How do I configure apt-get to use a Pac file for a proxy?

In my workplace we use the Pac file for proxy network .And the Pac file when i give to the browser setting its work fine Edit-->Advance-->Network-->Setting. When i gave the Url its working fine for ...
12
votes
2answers
2k views

Is Apt-get Update Lag Related to Google Chrome?

I have Google Chrome installed from the Google Chrome repository. When I run sudo apt-get update, I notice that getting headers relating to Google Chrome takes more time than is needed to get all the ...
2
votes
2answers
345 views

Installing software that is unavailable in standard repositories [decision tree]

What are the general steps I want to take to get a program installed on Ubuntu when the program has not been made into a package, or I need an updated software version from what would normally be ...
17
votes
1answer
15k views

Make apt-get (or aptitude) run with -y but not prompt for replacement of configuration files?

When running apt-get -y install <packages ...> on Ubuntu 10.04 I would like apt-get (or aptitude if that makes it easier) to not prompt me when installing additional dependencies (behavior of -y ...
1
vote
0answers
171 views

Setting button stopped working after installing Mint 12 desktop theme [closed]

I installed Linux Mint theme following some instructions in this webpage. It works but software center stop working.I corrected the problem of software center but now the setting button in Update ...
0
votes
0answers
30 views

Cannot install Lazarus [duplicate]

Possible Duplicate: Cannot install Lazarus IDE on Ubuntu 10.04 I have installed Lazarus on 10.04 Lucid by downloading it from the website and using dpkg. However, then my Ubuntu Software ...
5
votes
4answers
19k views

“apt-get” not finding packages on Terminal

I have been trying to install different packages via Terminal, like laptop-mode-tools, xserver-xorg-input-multitouch or xserver-xorg-input-mtrack, but it never works because I get the error: Reading ...
2
votes
2answers
1k views

'E: Unresolved dependencies.' when trying to install new packages

I have installed Lazarus IDE downloaded from the website, not from Ubuntu Software Manager. I couldn't install it from USC so I downloaded it. But after I installed it using sudo dpkg -i *.deb ...
4
votes
1answer
4k views

How do I install packages to an 8.10 system?

I am trying to copy some files from a disused Ubuntu 8.10 system. To do that I need to install nfs, portmap, etc., since those are not already installed. So I open Synaptic to install the packages. ...
1
vote
1answer
383 views

Cannot install Lazarus IDE on Ubuntu 10.04

I have downloaded *.deb files from Lazarus homepage and used sudo dpkg -i *.deb in Lazarus folder. It did install, but couldn't run due to error saying: No Lazarus executable in ...
3
votes
2answers
2k views

Is it possible to color-code the output of apt?

With the plethora of possibilities for most command-line tools, I would be surprised to learn that there is no way to colorize the info that apt-get, apt-cache, and related tools return. Even so, ...
16
votes
2answers
14k views

“method driver /usr/lib/apt/methods/https could not be found” update error

sudo apt-get update E: The method driver /usr/lib/apt/methods/https could not be found. michael@Ubuntu:~$ sudo apt-get clean michael@Ubuntu:~$ cd /var/lib/apt michael@Ubuntu:/var/lib/apt$ sudo mv ...
0
votes
4answers
7k views

How to configure proxy settings “syntax error *extra junk at end of file” [duplicate]

I got the following error after configuring proxy in /etc/apt/apt.conf as Acquire::http::proxy http://192.168.96.0:8080: e: syntax error /etc/apt/apt.conf:2: extra junk at end of file. and I don't ...
0
votes
2answers
500 views

Can't edit repos in synaptic, can't install ATI drivers, missing Unity Compiz plugin

Sorry to ask about three issues in one question, but for all I know they are related. I have a desktop running 11.10, I upgraded it from 11.04 (I think) a while ago, but haven't used it seriously ...
0
votes
1answer
509 views

reconfigure unity-2d after downgrade

I tried enabling HUD in unity following the instructions at http://techhamlet.com/2012/01/how-to-install-the-new-hud-in-ubuntu-12-04-and-11-10/, but when I had finished, I found that it doesn't work ...
2
votes
2answers
2k views

Need ubuntu with old kernel ( < 2.6.31)?

I have here some old applications and modules which ones only run on older linux kernels. I need an ubuntu with kernel < 2.6.31 I tought there are two options: 1.) Download 8.04/8.10 - there is ...
1
vote
2answers
2k views

apt-get upgrade fails due to dependency issues

I'm trying to upgrade and while doing so, I get the following: devteam@hephaestusx:~/Projects$ sudo apt-get upgrade Reading package lists... Done Building dependency tree Reading state ...
0
votes
1answer
1k views

Mysql-server-5.1 installation gone wrong

I was installing mysql-server-5.1 on ubuntu and the installation was interrupted. This caused an error and now I can't remove the package or reinstall it. This is the console output: ...
6
votes
3answers
7k views

sudo apt-get upgrade fails due to shared-mime-info.postinst error

On my server I am getting following issue. sudo apt-get update work successfully but sudo apt-get upgrade fails with following error. Please help me to solve this issue. administrator@myserver:~$ ...
0
votes
1answer
2k views

How to fix errors running apt-get?

A while ago updates stopped working. Now, when running apt-get, I get the following error: Errors were encountered while processing: libgl1-mesa-glx libglu1-mesa E: Sub-process /usr/bin/dpkg returned ...
10
votes
0answers
10k views

How do I unlock “/var/lib/apt/lists/”? [duplicate]

I was installing an item using package manager when it froze. I used Alt + F2 to close it. Afterwards, whenever I try to install anything via apt-get, the terminal reads: E: Could not get lock ...
2
votes
1answer
673 views

Package error while trying to upgrade mysql-server

I am trying to upgrate mysql 5.1 to version 5.5 Since official ubuntu repositories do not provide 5.5, I've decided to go with Dotdeb repository. When I've updated the package information and typed ...
1
vote
1answer
5k views

'apt-get' always fails with ERROR 404: Not Found over a package (flashplugin-downloader)

the following error is preventing me from installing anything on Xubuntu 11.10. How can I fix it?? $ sudo apt-get install meld Reading package lists... Done Building dependency tree Reading ...
6
votes
5answers
6k views

Script to only execute during first install of a package

I recently started packaging up some of my software and publishing it on Launchpad. The installation and removal works fine, but upgrading the package form one version to the next version is ...
1
vote
1answer
2k views

Programming error in aptdaemon, how to fix it? [duplicate]

Possible Duplicate: Cannot install any software from the Software Center due to ttf-mscorefonts-installer package error I've been trying to install some applications like Skype and Windows, ...
3
votes
1answer
1k views

Can't install ppa:utouch-team/utouch on Lucid

I am trying to install an Apple Magic Trackpad using the instructions here. I would use these command. sudo apt-add-repository ppa:utouch-team/utouch sudo apt-get update sudo apt-get install ginn ...
0
votes
1answer
1k views

Apt sources.list problem , packages not found?

I am trying to install WICD but getting following errors on my ubuntu 10.04 box sudo apt-get install wicd Err http://archive.ubuntu.schoolnet.lk/ubuntu/ lucid/universe python-wicd 1.7.0+ds1-2 ...
8
votes
2answers
8k views

Error Installing Git with Apt-Get

When I attempt to install git on a server distribution of Ubuntu 11.04, I get an error. I used the following command: sudo apt-get install git And that generated this error: (Reading database ...
3
votes
1answer
3k views

apt-get installation, path directory and running dependency programs

I am very new to Ubuntu and please bear with me if I present a very layman's version of explanation. My OS: Ubuntu 11.10 server, 64bit version I need to use three tools samtools, bowtie and tophat. ...
2
votes
1answer
967 views

seemingly uncurable package install failure

Similar to how-to-get-dpkg-working-again my daily apt-get has had this error, completely failing to update anything: root@chopin~ Wed Feb 01,16:23:56# (5473) apt-get -y install Reading package ...
15
votes
3answers
469 views

How are packages suggested and what is the difference between extra and new packages?

When installing a new package via "apt-get install", I usually just tick yes if it is a program I need/want, but, I read through it, and, I am a little curious as to what the sections actually mean. ...
1
vote
1answer
4k views

apt-get update bzip2 errors [closed]

I installed Ubuntu 11.10 today on my Lenovo w500. After that when i tried running sudo apt-get update This is the error i am getting. Get:117 http://ftp.jaist.ac.jp oneiric-security/universe ...
0
votes
2answers
828 views

Manually copy software (.deb files) from apt-get archives from one machine to another causes fetch error

I copied the apt source directory from /var/cache/apt/archives/ on my laptop (11.10) to my work PC (11.10). I then removed /var/lib/apt/lists/*. Now when I try to update my pc from the terminal, it ...
17
votes
2answers
24k views

Exclude packages from `apt-get upgrade` [duplicate]

Possible Duplicate: How to prevent updating of a specific package? Keep the Ubuntu package version I'm using now Is it possible to upgrade all packages except a given package? Is ...
18
votes
3answers
32k views

apt-get warning: No support for locale: en_US.utf8

I get this error each time I update the system using apt-get. What does this error mean? Any ideas on how to correct it? (I am running Ubuntu 11.10)
3
votes
1answer
701 views

How apt-get selects from a list of alternative dependencies?

I understand that in the Depends: section of the deb control files, a package may specify alternative dependencies separated by | symbol to satisfy a single dependency. My question is, how does ...
2
votes
0answers
481 views

Freezes at splashscreen after apt-get upgrade [closed]

Hello dear askubuntu community! A few weeks ago i switched from Vista to Ubuntu and I'm very happy with that. But yesterday i upgraded my packages (for the first time) with "sudo apt-get upgrade" and ...
0
votes
1answer
77 views

How do I hold back a Firefox update in kPackageKit?

Recently in my kubuntu 10.10 a firefox update showed which is about 15.2mb, but I already have 8.0. And it works fine with forecastfox 2.21 of which is has problems I see thru forecastfox users ...
2
votes
2answers
485 views

Shutdown during 'apt-get upgrade' and cannot enter system

I power off my laptop with Ubuntu 11.10 during apt-get upgrade, then I power on and choose Ubuntu in grub, but after the Ubuntu logo, a blurred screen comes. Then I choose recovery mode in grub, and ...
2
votes
1answer
1k views

Error installing cinnamon desktop package

Saw this article at howtogeek.com for cinnamon desktop alternative. Per the article, I successfully added the repository to ubuntu 11.10: sudo add-apt-repository ppa:merlwiz79/cinnamon-ppa But then ...
9
votes
2answers
2k views

Need to prevent a package from being installed

I have a package I do not want to be installed even if another needs it. Is there any way to "blacklist" a package from being installed even as a dependency of another? Can I overcome the fact that ...
1
vote
0answers
69 views

apt trouble. repository lists damaged [duplicate]

Possible Duplicate: “Problem with MergeList” error when trying to do an update I was trying to upgrade to 10.10 from 10.04, when i hit the following error. Could not ...