New answers tagged

0

As far as Internet connection goes, you are indeed connected. The HyperText Transfer Protocol (HTTP) 400 Bad Request response or 400 Bad URI status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request or URL syntax ). You are getting the response from [...


1

This issue is almost related to connectivity of the server you are attempting download from. please check the connectivity with the server or change the repository link, and share the result here.


1

It looks like your sources.list might be pretty messed up. I suspect you have at least one of the ppa's mis-configured and this is preventing apt from downloading the sources from the correct locations. I'd recommend you download the default ources.list file from here. Next, find your sources.list file; usually this is located at /etc/apt/sources.list. I'd ...


3

Unattended Upgrades The default settings of Ubuntu have Unattended Upgrades enabled for new packages that are pushed by the Ubuntu Security Team (the "-security" pocket of the Ubuntu Repositories). New releases of web browsers usually include many security fixes, so the Ubuntu Security Team pushes the new browser. Generally, new releases ONLY go into the ...


0

I have got the similar issue. After reboot my VirtualBox machine. It won't boot to GUI but the terminal in "emergency mode". It just can't go into default mode. I have got 5.0.0.25 and 5.0.0.23, both doing the same thing. I have got the problem solved. It appears that the attached USB devices (bluetooth and external HD) and their relevant settings are ...


0

Option # 1: Please try: sudo apt purge -f apt-listchanges Then try: sudo apt install -f apt-listchanges Option # 2: Please try: sudo dpkg --remove apt-listchanges Then try: sudo apt install -f apt-listchanges Option # 3: Please try: sudo mv /etc/apt/apt.conf.d/20listchanges /etc/apt/apt.conf.d/20listchanges.bak Then try: sudo apt update &&...


0

Whilst not strictly an answer, it would appear that the standard Software Updater GUI application is able to process this all fine. That slightly irks/worries me. So my 'answer' to my own problem is to use the Software Updater GUI.


0

Install linux-purge tool like this. Then run in terminal: sudo linux-purge --clear-boot --fix Then go on removing kernels by e.g. sudo linux-purge --keep 1 --choose Extra: If you want to use linux-purge for unattended kernel removal instead of using unattended-upgrades for that, you should disable removing unused stuff by editing /etc/apt/apt.conf.d/...


0

I fixed this by uninstalling and reinstalling all the above libraries sudo apt-get purge virtualenv sudo apt-get purge python3-pip and then I reinstalled these again. The issue I think could be - I changed from my default python version from 2.7 to 3.5.


0

To escape this situation, you can also press Alt+F2, type r and press Enter. This restarts Gnome, but it is a gentle and fast restart, your apps remain open.


0

sudo sed -i s,//us.archive,//archive,g /etc/apt/sources.list This converts the sources to main server. sudo apt-get clean So apt draws the package new. sudo apt update && sudo dpkg --configure -a && sudo apt -f install No, error? sudo apt full-upgrade Then try again to install syslog-ng If apt is ...


0

To get the most clear result I'll recommend to purge the problematic PPA and use packages from official repositories: sudo apt-get install ppa-purge sudo ppa-purge ppa:oibaf/graphics-drivers and then install remaining updates with sudo apt-get upgrade


2

What does “dist-upgrade” mean? It upgrades current OS and installed programs The process does not affect personal data stored in /home folder The process will not upgrade the OS version, will not wipe data or settings It is safe to run it As you can guess, a backup of personal files is not specially required before an sudo apt dist-upgrade but recommended ...


0

Backup! Backup! Backup! Backup your personal data. Bad things can happen any day. And especially on the day you try something on your computer you have never done before. It will keep your files and applications, and merely upgrade the OS It will also keep your personal settings and wallpaper. This means if you have been using a different theme, wallpaper ...


-1

you have 2 options i guess option 1 you use apt-get for fix this sudo apt-get update --fix-missing sudo apt-get install -f option 2 using dpkg sudo dpkg --configure -a sudo apt-get clean sudo apt-get update and finally : sudo rm /var/lib/apt/lists/lock hope it helps


2

I would suggest the following: Option # 1: Try fixing the missing packages by running the following command in the terminal: sudo apt update --fix-missing && sudo apt install -f If errors are encountered, try removing the the apt lock by running the following in the terminal: sudo rm /var/lib/apt/lists/lock Then: sudo rm /var/cache/apt/...


0

I would recommend trying the following process: Backing up your important data. Updating the current system: sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade Removing unneeded packages: sudo apt-get autoremove Making sure the update manager is installed: sudo apt-get install update-manager-core Disabling any extra ...


0

I ended up moving the VM to a different box. That worked well, and freed up my Ubuntu system for updating to 18.04 LTS as suggested in the comments. Thank you.


0

So this might be a long reach but I had this issue once too. Go to recovery mode, as root and run apt-get install xserver-xorg-input-all (assuming you use Xorg) That package was somehow uninstalled and I couldn't input anything. Hope it helps.


0

@nobody Input: sudo dpkg -i python3-apt_1.6.0_amd64.deb python-apt_1.6.0_amd64.deb Output: dpkg: warning: downgrading python3-apt from 1.6.4 to 1.6.0 (Reading database ... 182414 files and directories currently installed.) Preparing to unpack python3-apt_1.6.0_amd64.deb ... Unpacking python3-apt (1.6.0) over (1.6.4) ... Preparing to unpack python-apt_1.6....


3

I think this answer contains everything you are looking for: OK, I managed myself to do the same you did, but with some changes: 1) I installed the same utilities: sudo apt-get install cgroup-bin cgroup-lite cgroup-tools cgroupfs-mount libcgroup1 2) I edited conf files like this: sudo -H gedit /etc/init/cgroup-lite.conf description "mount available ...


3

The fault lay in Please install all available updates for your release before upgrading. A package was held back and it was stopping the upgrade. I updated the held package and got it unstuck.


0

Internal Error sounds not good. wget -c http://mirrors.kernel.org/ubuntu/pool/main/p/python-apt/python3-apt_1.6.0_amd64.deb and wget -c http://mirrors.kernel.org/ubuntu/pool/main/p/python-apt/python-apt_1.6.0_amd64.deb Install the 2 package with sudo dpkg -i python3-apt_1.6.0_amd64.deb python-apt_1.6.0_amd64.deb If this work sudo dpkg --configure -a &...


0

After quite a bit of effort I was able to fix this issue. Here's what I tried. I updated the sources to a single release, in my case it was to cosmic. Subsequently I resolved the second part of the issue by marking the held packages as unhold (sudo apt-mark unhold <package-name>). Note that multiple names for package-name can be separated by spaces ...


0

This is an error with snaps. systemctl status snapd.socket snap list No snaps are installed yet. Try 'snap install hello-world'.` this is the message you get, if you have no snaps on your system. remove it. sudo apt purge snapd sudo apt update && sudo apt full-upgrade Try again. Be attentive during the upgrade, in bionic is gnome3 the new ...


0

Some laptops will clock down the RAM speed when you add more memory. The old laptop I'm using came with 8 GB running at 1866 MHz but when I upgraded to 32 GB it went down to 1600 MHz. That is also stated in the specifications from Dell for the model I'm using. You might want to check the manufacture specs on your model. I don't think updating the BIOS will ...


1

What fixed this same issue for me was making /usr/bin/python point to 2.7 (instead of any python 3 version, which is what I had before). I assume the error was cryptic because what it thought was python2 was actually python3 sudo ln -sf /usr/bin/python2.7 /usr/bin/python


1

Preseed: d-i preseed/late_command string \ in-target rm -rf /var/lib/apt/lists ; \ in-target apt-get update ; \ in-target apt-get -y upgrade ; \ in-target apt-get -y dist-upgrade ; \ in-target apt-get -y autoremove ; \ in-target apt-get autoclean ; \ in-target apt-get clean this includes a dist-upgrade but that's easily removed. Ubuntu has ...


-1

I, too, received the 5.0.0-23-generic kernel today, after doing my typical sudo apt-get update No black screen, however. So far, everything seems to work.


1

Ubuntu Desktop version 18.04 and Ubuntu Server version 18.04 from Canonical are supported through April of 2023 officially, as far as maintenance updates are concerned**. 18.04.1 and 18.04.2 are maintenance updates for 18.04. Meaning, 18.04.2 is just an updated version of 18.04. So it will also be supported through April of 2023. Potentially for example, ...


2

The article might be a little misleading. Version 18.10 is supported for 9 months. It says 18.04 is supported for three more years because it is LTS. This includes 18.04.1, 18.04.2 and 18.04.3 when it comes out, etc. They would all be good until April of year 2021 according to comments below. It says the advantage of 18.04.2 over 18.04.1 is some of the ...


1

the 3rd number separated by dots is a minor revision. installing either one will work. when the install is finished and you reboot, log in, open a terminal, and do: sudo apt-get update && sudo apt-get upgrade to upgrade all packages to the latest Ubuntu revision. edit: sudo apt-get update && sudo apt-get dist-upgrade this works on any ...


0

Here's the default /etc/apt/sources.list for Ubuntu 16.04: https://gist.github.com/rohitrawat/60a04e6ebe4a9ec1203eac3a11d4afc1 Check through this file to see where yours is misconfigured. Make sure to run sudo apt-get update after you make any changes.


0

I had this exact problem today. It turned out to be an incomplete apparmor profile for ps. Using sudo aa-logprof I got this new profile in /etc/apparmor.d/, which restored ps to its normal: # Last Modified: Thu Mar 14 10:49:01 2019 #include <tunables/global> /bin/ps { #include <abstractions/base> #include <abstractions/consoles> #...


1

I was facing the same issue as yours right now and i was shocked to not find a single solution. But what did work for me is not using the 'NUMPAD' to enter my password. I logged in instantly by using the numbers above the keyboard. Hope this works for you. Good Luck


1

I'll suggest to try deeper approach with one of the commands below: try to get new dependencies sudo apt-get dist-upgrade try Aptitude's safe-upgrade sudo aptitude safe-upgrade try Aptitude's dist-upgrade sudo aptitude safe-upgrade try Aptitude TUI to see broken packages sudo aptitude If all these commands fail - then start over with removing ...


0

media.autoplay.default;1 media.autoplay.block-webaudio;true media.autoplay.allow-muted;false And in 66+, also add: media.autoplay.enabled.user-gestures-needed;false


0

Thanks, Somehow ~/Desktop had disappeared. So some software obligingly changed the contents of XDG_DESKTOP_DIR to only $HOME/. Restored the directory, fixed ~/.config/user-dirs.dirs,logged off and on and all was fine again. Keith


1

I've been fighting with this issue from time to time, and still haven't seen any solution that actually does the full job. In some cases, removing old kernels ends up in dependencies that stops me from removing anything and I had to remove kernels manually from /boot. However, I still wanted apt to do the full job as I imagine the manually deleted kernels ...


0

I received the same error testing 16.04 to 18.04 upgrade yesterday. This is a relatively vanilla installation of Ubuntu 16.04.6 LTS. A summary appears at the end: Errors were encountered while processing: unity-settings-daemon rhythmbox-plugin-zeitgeist unity gnome-icon-theme ubuntu-session hud libnautilus-extension1a:amd64 python3-gdbm:amd64 ...


2

In this case, "needed" does NOT mean "We have uploaded a patched package and you need to upgrade now". Instead, it means "This patch has yet to be applied by the Ubuntu Security Team, but it's on our to-do list." You can double-check that using the plain old apt-cache madison <packagename> command. Madison will return the current package available ...


0

I had the same problem occurring on Debian Buster with a wildly different hardware. As Tomcat pointed out, NetworkManager tried to negotiate a 100mpbs connection but "timed out" and took the connection into power saving. Try using ethtool --set-eee enpXsX eee off to turn off Energy Efficient Ethernet (EEE).


1

With the help of Ubuntu Launchpad, I managed to fix the issue - the problem was that in ~/.config/user-dirs.dirs, the path of my desktop automatically changed to my home folder. Try to edit the file and see what location points the XDG_DESKTOP_DIR constant to.


0

Access Advanced options for Ubuntu in GRUB menu and from the next screen select any recovery mode option. Advanced options for Ubuntu From the Recovery Menu use the arrow keys to select network and press the Tab key to put the focus on <OK> and press Enter twice. From the Recovery Menu use the arrow keys to select root and press the Tab key to put ...


2

Thank you, that helps me to fix my problem: dpkg: warning: 'start-stop-daemon' not found in PATH or not executable One addition to your good solution: On my OMV-System i don't have "ar" so I use the command "dpkg-deb -x dpkg_1.19.7ubuntu1_amd64.deb ."


0

There is an option called Repair Ubuntu that can be accessed from the Boot Menu while a Bootable USB or DVD is connected. As you said GUI Login is no longer working, have you checked the following link, Help Ubuntu? How about that option? Moreover, there is no such thing called Disco Dingo is the Latest and Bionic Beaver is the Old one. Bionic is an LTS ...


3

Almost universally the answers here say NO you can't but in reality you can if you do it right. This article describes how: Upgrade Ubuntu 18.04 to Ubuntu 19.04 Directly From Command The full article from the link is included below but check the link for new comments from users. I would point out that you can successfully upgrade directly from 16.04 to 19....


1

Just to document the solution... From the comments... Figured out what the problem was. And I was right in thinking that it was a memory conflict of some sort. In BIOS, I had XMP enabled which automatically set my ram to run at it's maximum speed of 1600 (a bit of overclocking in a sense). I've toned it back down to 1333 and now when I boot up using the ...


1

Wow, worster than I thought. In my opinion save your data's and install new. Never use Debian package source in ubuntu. If you want uptodate packages use a rolling release Distro like Arch.


0

If your robot doesn't have access to the internet then it will not be able to update or ping anything on the internet. You answered your own question when you said "(NB: The WiFi does not provide internet connection, and is solely for SSHing into the robot, which is why I am using an ethernet to access the internet.)" Your computer having access to the ...


Top 50 recent answers are included