Find package in which a missing file is packed ubuntu

If you want to find out to which package a particular file belong, you can use apt-file. Open a terminal window and enter the following command: $ apt-file search <filename> <enter> Where <filename> is the name of the file to lookup. If you do not have apt-file installed, you can install it on your computer … Continue reading Find package in which a missing file is packed ubuntu

apt-get dist-upgrade freezes at reading package lists due to appstreamcli in Ubuntu

Today, when I attempted to update the Ubuntu system to install the latest patches, the system hanged infinitely at the sudo apt-get update command. This appears to be a bug, but nonetheless, system patching is our priority and this is the workaround, till it gets fixed. To type the commands below, open a linux terminal … Continue reading apt-get dist-upgrade freezes at reading package lists due to appstreamcli in Ubuntu

Add repository to sources.list file in Ubuntu

Here is an example of how to add a sources.list file to the Ubuntu packages repository. Open a terminal window and enter the commands below. $ sudo cp -p /etc/apt/sources.list /etc/apt/sources.list_backup <enter> $ sudo vi /etc/apt/sources.list <enter> Now add the line: deb http://ppa.launchpad.net/speed-dreams/ppa/ubuntu raring main <enter> :wq $ sudo apt-get update <enter> Now you can … Continue reading Add repository to sources.list file in Ubuntu

The following packages have been kept back: Message in Ubuntu when updating packages

If you used the instructions at this post to update your Ubuntu Linux packages, basically, apply patches, you get the following message at times: The following packages have been kept back: <list of packages> This basically prevents the packages listed from getting updated. To overcome this issue, there are two ways: 1. Run sudo apt-get … Continue reading The following packages have been kept back: Message in Ubuntu when updating packages

Remove or Purge package in Ubuntu

Ubuntu offers two options to remove packages. When you remove packages, you only remove the packages, but not their configuration files. Enter the following command to remove a package in a terminal window. $ sudo apt-get remove packagename <enter> When you purge packages, you remove the packages and their configuration files. Enter the command below … Continue reading Remove or Purge package in Ubuntu

How to remove Swiftfox in Ubuntu 12.04

If you have installed Swiftfox, an alternative browser to Firefox, in Ubuntu 12.04, you can remove it using the following command in a terminal: $ sudo apt-get install aptitude <enter> $ sudo aptitude purge swiftfox-prescott <enter> If you try to remove it with apt-get or dpkg, you will not find the package. However, aptitude finds … Continue reading How to remove Swiftfox in Ubuntu 12.04