Tag Info

Hot answers tagged

22

Check a package's dependencies / dependent packages. (This can be done in Synaptic by viewing the properties of a package): apt-cache depend 'package-name' apt-cache rdepend 'package-name' Browse available packages apt-cache pkgnames apt-cache search '.*' apt-cache show 'package-name' Search (in package names as well as the details/descriptions) for ...


20

The short answer: The APT preferences file /etc/apt/preferences can be used to control which versions of packages will be selected for installation. Here is the file /etc/apt/preferences, which apt-get use to decide, which version it's have to select if there are many versions of a single packge. With this, any package that comes from the local ...


16

There are two kinds of dependencies for alacarte: “depends” and “recommends”. Alacarte depends on Python and various Python libraries (which in turn pull in some libraries); the “depends” level says that alacarte won't work without these. APT-based tools won't let you install alacarte without those dependencies. You can ignore all dependencies with dpkg ...


15

sudo apt-get install apt-xapian-index sudo update-apt-xapian-index -vf From: http://ubuntuforums.org/showthread.php?t=1178974


15

All of those use dpkg as a backend. Neither one uses any specialized database that breaks when you use something else. It's definitely urban legend. If you want to install something from source code, cleanest way is to use checkinstall, or install it to /usr/local. Using package manager is better, because then removing that package is much easier.


14

To add a little bit to what Rinzwind and nickguletskii said, completely remove will remove configuration files in /etc directory, but never touch personal configuration files in your home folder, that can only be removed by hand.


14

Synaptic is just a graphical front-end to APT (Debian's package manager: Advanced Packaging Tool). APT automatically locks one of a few special files (/var/lib/dpkg/lock among others) as it runs any operation. It is theoretically possible to programme APT to allow for concurrent processes to modify the package database. However, in practise, it is difficult ...


14

Solved it from this link in ubuntuforums.org. In the post, Jsonwco writes: It appears that it's related to accessibility settings. I was able to fix this problem on my system by opening Universal Access, enabling then disabling the screen reader, then opening Synaptic again.


13

Well we may need a few steps to fix this. Start with sudo dpkg --remove --force-all hl1440lpr If that fails ... # become root sudo -i cd /var/lib/dpkg/info rm -rf hl1440lpr* dpkg --remove --force-remove-reinstreq hl1440lpr exit Confirm apt-get is fixed # should return no errors sudo apt-get update


12

You shouldn't lose your desktop by removing ubuntu-desktop, because it is a meta-package that simply allows to easily install all default packages in the Ubuntu Desktop environment. However, it is recommended to install it again before any system upgrades. You can safely remove gedit and ubuntu-desktop, then install ubuntu-desktop again. It will ...


11

Syanptic is more powerful and was designed as a package manager. Software Center was designed as an "app-store" like program.


11

You need to install Synaptic first. You can do that by clicking here: Synaptic or by typing sudo apt-get install synaptic in a terminal. After this you just need to hit the Super key (or Windows) and type Synaptic and hit enter (to actually open the package manager).


11

Are you running a 64bit version of Ubuntu? If so than you need to install the 32bit version of libjpeg via this command sudo apt-get install libjpeg62:i386 It seems hacketyhack uses the 32bit version of libjpeg


10

To use apt-get through a proxy, either make a file in /etc/apt/apt.conf.d/ called proxy or something that you'll recognise, or make (if it doesn't exist) /etc/apt/apt.conf and insert the following line: Acquire::http::Proxy "http://username:password@proxy.server:port/"; Simply replace username and password with your login details, and replace ...


10

As your question is tagged synaptic, I'll assume that this you package manager of choice. In order to hold a package back with synaptic, you simply need to "lock the version." Find and select the package you wish to hold back. Then go to Package > Lock Version in the menu bar. When you are ready to upgrade that package, simply highlight the package ...


10

Make sure the dctrl-tools package is installed. It provides useful commands for searching the apt and dpkg package lists. To get a full description of all packages from a particular section that are installable with apt, run grep-aptavail -F Section hamradio This will show the full package metadata for every package in the hamradio section. If all you ...


9

Both of them are package managers but software center is simple to use and synaptic is more complicated and provides more options (More details about packages for example).There was some news about removing synaptic form next release of ubuntu (but installable from repositories) since software center can do the work (here).


9

The only real difference is Aptitude. If you use it interactively install something, then remove that package in something else and then go back to Aptitude, it will think you want to reinstall it. You just have to clear selections when it loads (easy enough through the menu). It will also run an autoremove so old dependencies are cleaned up. This can be ...


9

It means that if there is a security problem or minor bug fixed in the application, then Canonical makes no guarantee they will update it to protect your system, etc. If there is a major problem the Ubuntu community will usually issue an update though. No, I wouldn't worry at all about monitoring new releases.


9

Just simply write sudo apt-get install firefox apt will recognize it as a request for update as firefox is already installed. It will also update the dependecies. Just tested it a few minutes ago. Works for every package, which is listed after the sudo apt-get dist-upgrade


9

Those are "new" packages there weren't in the list of available packages the last time you run Synaptic. You can also see them in the New in repository filter in the Status view:


8

To answer your last question about finding packages that are no longer necessary. You can find packages that are no longer necessary by sudo deborphan Also aptitude is per default set to automatically remove unused packages, so I'd suggest you use it instead of apt-get (it has other nice features too). Note that you may have to install deborphan and ...


8

The 'complete removal' option instructs Synaptic to remove any configuration files associated with the package as well. Source: community wiki Normal removal is equivalent to sudo apt-get remove application using terminal. Complete removal is equivalent to sudo apt-get remove --purge application. Files in your home folder are not part of the package so ...


8

To remove the history. sudo rm -rf /var/log/apt/history.log /var/log/dpkg.log I would advise to make a backup just in case! That can be done by mkdir ~/apt-logs sudo cp /var/log/{dpkg,apt/history}.log ~/apt-logs You also need /var/log/dpkg.log


8

The method to backup your sources list has already been described by garbagecollector (also note the additional directory as explained by Javier Rivera). To backup the trusted keys added to your system you can use the apt-key command line program. I don't know if there is a way to do this from the GUI. From a terminal you can run something like this: ...


8

Oracle treat point releases (4.x) as new releases, not upgrades (4.x.y). As such - for stability reasons, some people continue with, for example, 4.0.x until either support for 4.0 is withdrawn, or sufficient bugs are flattened in the new 4.1.x releases. The usual policy is to deinstall your 4.0 release before downloading and installing the 4.1 release. ...


8

Python is an essential package because much of Ubuntu is based on Python. Ubuntu will not run without it.


8

Chromium is specified as a dependency of the lubuntu-desktop package, so uninstalling it will cause the lubuntu-desktop package to be uninstalled. However, lubuntu-desktop is only a metapackage; removing it will not actually uninstall the Lubuntu desktop environment. The only problem you will have is that when you upgrade to the next version of Lubuntu, ...


7

Well actually you can't install .deb files through Synaptic.


7

The method in the forum thread (tricking Synaptic by renaming apt-fast to apt-get and vice versa) will not work with Ubuntu, because our Synaptic does not use apt-get. I've verified this by quickly looking at the source code, and also by moving /usr/bin/apt-get elsewhere -- Synaptic still works fine. Synaptic does reuse bits of code from apt-get, and it does ...



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