Tag Info

Hot answers tagged

3

Create a script, in my example foo #!/bin/bash # Create a temporary folder in /tmp dir=$(mktemp -d) # Extract the deb file dpkg -x "$1" "$dir" printf "\n%s\n\n" "$1" # Show the package architecture information dpkg --info $1 | \ awk '/Architecture/ {printf "defined dpkg architecture is:\t%s\n", $2}' # Show the executable format via find and awk for ...


2

I suggest installing the same deb file again. Then you will be able to remove it.


2

This is a dpkg change, not an apt change: # dpkg --get-selections | grep hold google-chrome-stable hold # dpkg -i google-chrome-stable_44.0.2403.125-1_amd64.deb (Reading database ... 318187 files and directories currently installed.) ... # dpkg --get-selections | grep hold # After doing some git bisect, this change was ...


2

system by default reserve 5% memory for superuser . so you can use that memory by reducing 5% to 2% . let up suppose you have 100GB hard disk then system will keep 5GB memory for superuser reserved. it will not use all 5% memory so you can reduce it by 2%. tune2fs -m 2 /dev/sda1 if you are going to create partition and you want to assign less memory to ...


2

You need the development packages, they should be available in 14.04 from the trusty main repository. Try running: sudo apt-get install libgtk2.0-dev


2

From the manpage: Unless you pass the -F option, the output of aptitude search will look something like this: i apt - Advanced front-end for dpkg pi apt-build - frontend to apt to build, optimize and in cp apt-file - APT package searching utility -- command- ihA ...


2

Nothing. The VCS-* fields are for source packages, not binary packages. Compare: $ apt-cache showsrc php5 | grep -i git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-php/php.git Vcs-Git: git://anonscm.debian.org/pkg-php/php.git $ apt-cache show php5 | grep -i git $


2

The terminal used by default is Gnome Terminal. There are 2 ways to uninstall it. Command line method: Open tty1 by pressing Ctrl+Alt+F1, and run this command: sudo apt-get remove gnome-terminal It will be removed. Graphical method: Open the Software Centre and search for Gnome Terminal: Click the first result called "Terminal (gnome-terminal)" and ...


2

You could look for it: locate --regexp 'chef.*deb' Or, you could get a new copy, if /var/cache/apt/archives has been cleaned out. See man apt-get, which says, in part: NAME apt-get - APT package handling utility -- command-line interface SYNOPSIS apt-get [-asqdyfmubV] [-o=config_string] [-c=config_file] [-t=target_release] ...


2

So after some searching in addition to what I've posted in the comments, I found a command that produces the exact repository - apt-cache policy packagename. Example: $ apt-cache policy chef chef: Installed: (none) Candidate: 11.8.2-2 Version table: 11.8.2-2 0 500 http://us.archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages


1

The are you root? part shows that you do not have the privileges of installing new software. Try using sudo with your command to execute them as root user. First run the command sudo apt-get update and then you can try to install the application with sudo apt-get install app_name where app_name is the application you want to install.


1

You can force dpkg to over-write files by: sudo dpkg -i --force-overwrite Downloads/texmaker_ubuntu_14.04_4.4.1_i386.deb Also run sudo apt-get -f install to make sure everything is OK.


1

You can install same driver a supported way. First remove what you tried to install by sudo apt-get purge fglrx Then install this driver from Ubuntu repositories sudo apt-get install fglrx-updates This will install 15.200 fglrx.


1

Try this command in terminal to find what is running ps -e | grep -e apt -e adept | grep -v grep If that doesn’t print anything, type the following in terminal to remove the lock sudo rm -rf /var/lib/dpkg/lock sudo rm -rf /var/cache/apt/archives/lock Also If you try ps aux | grep apt that will catch processes containing the word apt, at least. ...


1

Package: ResolutionX Version: 1.0-0 Section: base Priority: optional Architecture: all Build-Depends: debhelper (>= 9) Maintainer: Bilal Bernardot Description: ResolutionX A simple tool to enable you to have your desired resolution without requiring graphics drivers. This paragraph is a mish-mash of fields for source and binary packages. The first ...


1

A DEB package is just an archive with very specific contents. You can open it in any archive manager you like (such as File Roller or whatever) and the contents are laid out as if you empty it into /. All you need to do is locate a binary and query its file type. This isn't usually necessary - if the filename has i386 in it, it should be i386. Your case is ...


1

Boot on the computer with a live USB key/cdrom linux, and from this, use parted or gparted to extend your root partition. You'll not be able to do it from your system as the root partition is mounted and in use.


1

Add this software source to /etc/apt/sources.list deb http://archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse Run this command for installing dependencies: sudo apt-get -y install libgnomeprint2.2-0:i386 libgnomeprintui2.2-0:i386 libbonobo2-0:i386 libbonoboui2-0:i386 libgconf2-4:i386 libgnome-desktop-2-17:i386 ...


1

This problem can happen in the case of Hyper-V virtualization (Happened to me today). In this case the answer is to disable OS-probbing in grub by opening the configuration file : sudo nano /etc/default/grub And adding the line : GRUB_DISABLE_OS_PROBER=true


1

Use the main server instead of http://in.archive.ubuntu.com/ubuntu/ sudo sed -i 's://in\.://:g' /etc/apt/sources.list sudo apt-get update or change the server via Software & Updates. Select Main server for Download from: Install the correct version of libuuid1:i386 sudo apt-get update sudo apt-get install libuuid1:i386=2.20.1-5.1ubuntu20.6 But ...


1

Before you start, try to delete unneeded packaged using : sudo apt-get autoremove Now, you have to install all dependencies packages using : sudo apt-get update sudo apt-get install -f After that, try to install updates using : sudo apt-get upgrade



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