New answers tagged

0

sudo apt-get install libmypaint-common libmypaint-1.3-0


0

Many answers say to use "apt autoremove" but that may not work when /boot is full because apt tries to add kernels before removing. Next apt autoremove won't remove any kernels mentioned in /etc/apt/apt.conf.d/01autoremove-kernels so we need to fix that. Here is the process that worked for me. Remove unwanted kernel config files. sudo dpkg --purge $(...


2

You mention it looks like it's just looking for the wrong versions so update your machine's software repository lists with the command sudo apt update This will update the lists of software packages available (including versions) available for sources listed for your machine (sources found in /etc/apt/sources.list & sources.list.d/)


0

I found the answer here, it turned out I needed to figure out how to install the timezone (tzdata) program non-interactively, rather than cimg. For those interested my script is apt-get update -y apt-get upgrade -y apt-get install -y libx11-dev export DEBIAN_FRONTEND=noninteractive ln -fs /usr/share/zoneinfo/Australia/Brisbane /etc/localtime apt-get ...


1

Pipeline character, | indicates OR, i.e., either of the two lxqt-sudo and gksu can be used. Similarly, xfwm4 or x-window-manager and firefox or www-browser.


0

Install synaptic. You can then browse packages by "origin" or even any other custom filter.


0

It work for me same - sudo apt remove --purge libapache2-mod-php7.2 and then sudo apt install libapache2-mod-php*


0

Special note! :D I have D-Link AC1200 USB adapter. It's a Revision D tho!!! So I kept digging and digging... turns out, revision C had a different chip, than mine! So for those of you digging that can't get yours working, OR if you know you have a Realtek RTL8812BU or RTL8822BU chipset, then try the following 1 line at a time in your command prompt. Worked ...


5

The manpages-dev package provides most manpages in section 2 of the manual (documenting system calls), including those for the creat, ioctl and chown system calls. sudo apt update sudo apt install manpages-dev You can usually find the packages that provide manpages by searching the Ubuntu packages database for a file named like creat.2.gz, where (if ...


0

It is a bug that was fixed in Debian (on 2019-01-24) but it is not fixed in Ubuntu yet (2019-07-12): https://bugs.launchpad.net/ubuntu/+source/icu/+bug/1784135 Because of it, it is also not possible to use i386 ICU dependent libraries such as libxml2. I found this issue when I was trying to fix such compilation issue: echo "int main(){return 0;}" > /...


3

There are several possible reasons. Happily, none indicate a real problem. Firstly for most folks, Unattended Upgrades draws from a limited number of repositories that are whitelisted in /etc/apt/apt.conf.d/50unattended-upgrades. Any software from other repositories, PPAs, other sources, or Snaps, is ignored by Unattended Upgrades, and will show up in the ...


1

You got this message because you manually downloaded device-tree-compiler_1.4.7-1_amd64.deb and locally installed this .deb file. If you install Synaptic package manager with sudo apt install synaptic and check it in Installed (local or obsolete) in the left pane it will show that device-tree-compiler is a locally installed package. device-tree-compiler is ...


0

You are very likely to have followed the Cloud SDK install instructions to the letter. Some steps are alternative (ie, you do one or the other). As a result, your /etc/apt/sources.list.d/google-cloud-sdk.list will have a duplicate entry: deb [signed-by=/usr/share/keyrings/cloud.google.gpg] https://packages.cloud.google.com/apt cloud-sdk main deb https://...


0

In case everyone was wondering the fix was actually pretty simple, the grub file had a simple error on the first line, no idea how that got there, but if anybody else had this problem, hope this helps.


0

touch /etc/apt/apt.conf && sudo vi etc/apt/apt.conf Acquire::http:proxy "http://user:pass@x.y.z.00:80/"; Acquire::https:proxy "https://user:pass@x.y.z.00:80/"; Replace x.y.z.00:80 -->> your Proxy URL or IP


0

apt is an interface to the packaging system, and wants package names to install. The tool to install a .deb file is dpkg. Read man dpkg and do something like: sudo dpkg --install ./device-tree-compiler_1.4.7-1_amd64.deb


0

Apt is the newer version of the command. You should switch to using apt instead of apt-get its better and gives better idea of what the command is doing. As for apt-full-upgrade and apt-get-dist its the same command. But again apt is the newer command. For example when using apt you get a progress bar to tell you how much of the install/update is done.


0

So yes turned out boot was full. Plenty of space left on the server (2 TB). So I looked up the following which helped me out with my desktop setup a while back. https://gist.github.com/ipbastola/2760cfc28be62a5ee10036851c654600 Thanks everyone for all your help.


1

At the recommendation of @DougSmithies, I did a source build of perf. It was pretty easy, but not trivial, so here are the instructions. 1) Clone the linux kernel: $ git clone https://github.com/torvalds/linux.git 2) Find your kernel via uname -r, and checkout the corresponding kernel branch via searching through the git tags. So for me: linux$ git ...


0

The following command helped me to install samba over Ubuntu 18.04.2 LTS: sudo aptitude install samba Output: The following NEW packages will be installed: attr{a} ibverbs-providers{a} libcephfs2{a} libibverbs1{a} libldb1{a} libnl-route-3-200{a} librados2{a} libtdb1{a} python-crypto{a} python-dnspython{a} python-ldb{a} python-samba{a} python-tdb{a}...


1

You are running unsupported Ubuntu 14.04, so you'll have reinstall the OS. If you do reinstall Ubuntu, selecting 19.04 will make it easier to install PyGame (for Python 3), because it's included in the default repositories for Ubuntu 19.04 and later. To install PyGame for Python 3.x on Ubuntu 19.04 and later, open the terminal and type: sudo apt install ...


0

In Debian, you can read the manpage apt-transport-http(1) and look for supported URI schemes. As was answered before, put Acquire::http::proxy "socks5h://server:port"; in /etc/apt/apt.conf.d/12proxy You can read more about the APT-config in general in apt.conf(5) and read the examples in /usr/share/doc/apt/examples/configure-index.gz mentioned at the end ...


0

It seems you have bionic-proposed in your sources.list. If so sudo apt install -t bionic-proposed linux-tools-generic-hwe-18.04-edge linux-cloud-tools-generic-hwe-18.04-edge This can only work if you have bionic-proposed is integrated. sudo apt --dry-run install -t bionic-proposed linux-tools-generic-hwe-18.04-edge linux-cloud-tools-generic-hwe-18....


0

comment in /etc/default/grub.d/50-curtin-settings.cfg the entry GRUB_CMDLINE_LINUX_DEFAULT="maybe-ubiquity" out. sudo dpkg --configure -a && sudo apt -f install


0

The first thing you want to try is like the error message says apt-get -f install If this doesn't work, then we've got a bigger issue. See this excellent post for more information.


0

Go to software and updates Select Other Software uncheck all ppas click close click reload Go to Lite Welcome Good luck!


0

I have identified the following packages so far that tend to operate physical hardware thus cannot do anything under virtualized environment so can be safely removed to avoid unnecessary reboots when they are updated by unattended-upgrades: amd64-microcode intel-microcode iucode-tool thermald acpid linux-firmware mdadm


0

For people who are interested in proactively preventing this bug in their scripts, I found that the -q flag on apt upgrade -yq was causing this issue for me. During the upgrade process I guess it would occasionally give me warnings (something along the lines of updating the desktop, would I like to continue), and if these warnings were suppressed, then I ...


1

First part should work with apt-show-versions Install it and run apt-show-versions | grep bionic-backports The second part is the tricky one. I would remove backports and make it over apt pinning Package: * Pin: release o=Ubuntu,a=bionic,n=bionic,l=Ubuntu Pin-Priority: 1001 Package: * Pin: release o=Ubuntu,a=bionic-updates,n=bionic,l=Ubuntu Pin-...


0

you have the graphical hw stack on your system. xserver-xorg-input-all-hwe-18.04 xserver-xorg-input-libinput-hwe-18.04 sudo apt update Simulation first. sudo apt-get -s install --install-recommends xserver-xorg-core xserver-xorg xserver-xorg-video-all xserver-xorg-input-all libwayland-egl1-mesa ` Look for conflicts. then you can istall it. sudo apt-...


0

Install apt-xapian-index and use axi-cache search when searching instead of apt--cache. You'll get much better results


0

This solution worked best for me. wget -nv https://download.owncloud.org/download/repositories/stable/Ubuntu_16.04/Release.key -O Release.key sudo apt-key add - < Release.key Once these commands were run I was able to update and upgrade as expected.


0

I had the same problem. I think the issue is you are missing this file: cloud.google.gpg in /usr/share/keyrings/ To fix it you could do: Remove google-cloud-sdk so you can use apt-get again: cd /etc/apt/sources.list.d sudo rm google-cloud-sdk.list Install curl (in case you dont have it): sudo apt-get install curl Copy the key: curl https://...


0

I ended up manually pulling the package from launchpadlibrarian (a/k/a librarian.launchpad.net) and confirming the hash. Doesn't appear to be a way to override the default APT behaviour.


0

I've just had a very similar issue when I did an sudo apt autoremove and it failed attempting to install kernel files for a kernel I don't have. My uname -a shows I'm using kernel version 5.0.0-20 and running ls -al /boot shows only this and the 5.0.0-17 kernel are installed. However, apt suddenly turned up errors and attempted to install files in my /boot ...


0

You could remove the PPA and as a result wine will no longer receive updates but at the same time has no incentive to be removed from your system unless you explicitly command it to with a terminal command.


0

Had to add ppa:canonical-kernel-team/ppa to get the armhf packages in version sync with amd64 (bionic-security). Then zlib1g-dev installed fine.


0

try this commands in your terminal: sudo apt update sudo apt install software-properties-common apt-transport-https wget wget -q https://packages.microsoft.com/keys/microsoft.asc -O- | sudo apt-key add - sudo add-apt-repository "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" sudo apt install code


0

For 18.04, make a new file in /etc/apt/apt.conf.d/proxy.conf Write your proxy settings in this file, for example: Acquire::http::Proxy "http://user:password@proxy.server:port/"; Acquire::https::Proxy "http://user:password@proxy.server:port/"; and it works.


0

Well, this might be the issue of caches within your ISP. These packages are distributed across multiple locations for making available globally, due to such this packages sometimes not get the updates at a given time in some location so thus you faced this hash sum error. I would recommend you to perform this action via changing proxy address/ VPN which ...


0

This solution finally worked out for me: sudo rm -rf /var/lib/apt/lists/* sudo apt-get update -o Acquire::CompressionTypes::Order::=gz sudo apt-get update && sudo apt-get upgrade Source: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1785778


1

Anaconda is not intended to be installed in a virtual environment like virtualenv. It is meant to be its own virtual environment, more or less. It is meant to be installed in your home directory for the local user(~/anaconda3 by default). From there, you will create the necessary virtual environments by creating separate conda environments (using the conda ...


1

I'm sure that system libclang and clangd are version 8.0.0 or higher in Ubuntu 18.04. clangd is provided by clang-tools-8 from the universe repository in Ubuntu 18.04. Clang 8 and libclang are provided by clang-8 and libclang1-8 oackages in Ubuntu 18.04. To install all of these packages open the terminal and type: sudo apt install clang-8 libclang1-8 clang-...


2

The PPA at http://ppa.launchpad.net/simonschneegans/testing/ubuntu doesn't support disco yet, but they do support cosmic. Let's fix this... Search for the appropriate .list file to edit, with grep -i simonschneegans /etc/apt/sources.list.d/*.list, and then edit your {found_file_name} with sudo -H gedit /etc/apt/sources.list.d/found_file_name.list and ...


1

I am leaving this question, even though the solution was found here, as this was a clean install of 8.0 vs. an upgrade from 5.7. I note again that that .deb package was definitely putting 5.7 pieces in, and not 8.0. Here is the actual contents of /etc/apt/sources.list.d/mysql.list that worked: deb http://repo.mysql.com/apt/ubuntu/ bionic mysql-apt-config ...


5

If you start with Ubuntu's cloud images, then there's nothing hardware-related to remove. This won't help with your current VMs, but is an easier starting point for your future VMs. Here's an example of getting started using KVM and cloud-images: Everything you need, including KVM, is a dependency of the wonderful uvtool package. No PPAs, this is all stock ...


1

Well, it looks like you have no hardware supported by LVFS. Asus does not currently use this service Calling fwupdmgr get-devices will show you all devices supported by LVFS on your system. If there's no output, then there's just no devices supported.


1

from: https://www.linuxquestions.org/questions/debian-26/apt-get-dpkg-error-files-list-file-missing-final-newline-271118/#post1375972 Well, with a big help from #debian at freenode, I found the solution (thanks justin!!): the file /var/lib/dpkg/info/smbfs.list was corrupted, it was all binary crap. Dunno how this could happen, but it was. So justin ...


0

Got the same problem with Linux 19 Tessa This worked for me: sudo dpkg-reconfigure gconf2 Found in here: I encountered a gconf2 error while installing some packages, what should I do?


2

You could merely add a test to your post-upgrade hook. function test_for_theme(){ // Scrape /var/log/apt/history.log for newest upgrades // Return 0 if $PACKAGE_NAME is not in the log // Return a different integer if $PACKAGE_NAME is in the log tail -n4 /var/log/apt/history.log | grep Upgrade | grep -c $PACKAGE_NAME } if [ test_for_theme -ne 0 ]; ...


Top 50 recent answers are included