I updated my ubuntu 16.04 by sudo apt update and encountered this problem .  suraj@UTM-600001420:~$ sudo apt update Hit:1 http://ppa.launchpad.net/gerardpuig/ppa/ubuntu xenial InRelease                               Hit:2 http://in.archive.ubuntu.com/ubuntu xenial InRelease                                                                     Ign:3 http://ppa.launchpad.net/linuxgndu/adt-raring/ubuntu xenial InRelease                                                    Hit:4 http://in.archive.ubuntu.com/ubuntu xenial-updates InRelease                                  Hit:5 http://ppa.launchpad.net/sunab/kdenlive-release/ubuntu xenial InRelease                  Hit:6 http://in.archive.ubuntu.com/ubuntu xenial-backports InRelease Hit:7 http://archive.canonical.com/ubuntu xenial InRelease                                      Hit:8 http://in.archive.ubuntu.com/ubuntu xenial-security InRelease                             Hit:9 http://ppa.launchpad.net/teejee2008/ppa/ubuntu xenial InRelease Hit:10 http://ppa.launchpad.net/webupd8team/java/ubuntu xenial InRelease Err:11 http://ppa.launchpad.net/linuxgndu/adt-raring/ubuntu xenial Release   404  Not Found Reading package lists... Done E: The repository 'http://ppa.launchpad.net/linuxgndu/adt-raring/ubuntu xenial Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details.   How to fix this.?
952
When updating, I get the following error message:   W: The repository 'http://ppa.launchpad.net/mc3man/trusty-media/ubuntu xenial Release' does not have a Release file.   Here, I find another statement on this error:   This recommends removing certain PPAs; and, I'm not sure if I should do that since it might mean not getting the updates that I need.    Is this what I should do?
51071
I keep getting this error every time I try to sudo apt update:  Hit:1 ubuntu bionic InRelease Ign:3 linux/chrome/deb stable InRelease                    Get:2 /ubuntu bionic-updates InRelease [88.7 kB]    Get:5 /linux/chrome/deb stable Release [943 B]              Get:6 http://dl.google.com/linux/chrome/deb stable Release.gpg [819 B]          Get:4 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]  Get:7 http://security.ubuntu.com/ubuntu bionic-security InRelease [83.2 kB]     Reading package lists... Done                                  E: Release file for http://dl.google.com/linux/chrome/deb/dists/stable/Release is not valid yet (invalid for another 2h 45min 28s). Updates for this repository will not be applied. E: Release file for http://us.archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease is not valid yet (invalid for another 4h 34min 33s). Updates for this repository will not be applied. E: Release file for http://us.archive.ubuntu.com/ubuntu/dists/bionic-backports/InRelease is not valid yet (invalid for another 1h 22min 16s). Updates for this repository will not be applied. E: Release file for http://security.ubuntu.com/ubuntu/dists/bionic-security/InRelease is not valid yet (invalid for another 4h 32min 36s).    Updates for this repository will not be applied.  I've reset my timezone to UTC, but that didn't work. I also found a different answer where they said I should try   sudo apt-get -o Acquire::Check-Valid-Until=false update   but that didn't work either. I got the same error both times.
57787
When I upgrade from one version of Ubuntu to the next, the upgrade tool rightly disables all my PPAs, so that software compiled for or otherwise tied to the old version of Ubuntu does not interfere with the new version that I just upgraded to.  Is there any way to automatically re-enable and update any PPAs that provide packages for the new version of Ubuntu? For example, suppose I'm currently running Maverick, and I have two PPAs enabled, "foo" and "bar". Suppose that "foo" provides packages for both Maverick and Natty, while "bar" provides packages for Natty only. Is there a tool I could run after updating to Natty that would re-enable my "foo" PPA and update it to point to the Natty packages, while leaving the "bar" PPA disabled?
22607
Accidentally executed this command and now many of my programs are not working.  sudo apt-get --purge remove libstdc++6   sudo apt now not working and some other stuff.  How do I revert this?  Distributor ID: Ubuntu Description:    Ubuntu 16.04.4 LTS Release:        16.04 Codename:       xenial   edit  I followed melebius by installing via dpkg -i ,libstdc++6 and it seems successful   root@server:~# sudo dpkg -i libstdc++6_5.4.0-6ubuntu1~16.04.10_amd64.deb Selecting previously unselected package libstdc++6:amd64. (Reading database ... 71540 files and directories currently installed.) Preparing to unpack libstdc++6_5.4.0-6ubuntu1~16.04.10_amd64.deb ... Unpacking libstdc++6:amd64 (5.4.0-6ubuntu1~16.04.10) ... Setting up libstdc++6:amd64 (5.4.0-6ubuntu1~16.04.10) ... Processing triggers for libc-bin (2.23-0ubuntu10) ...   But when i tried to install something i get this error  root@server:~# sudo apt-get screen apt-get: error while loading shared libraries: liblz4.so.1: cannot open shared object file: No such file or directory root@server:~#
100495
I've been going through docs for the past couple of hours but I haven't understood what the PPA is? I have a cross-platform Java application that I'd like to publish to the Ubuntu Software Center. My application is open-source and I'm using Github.   Apparently, publishing applications to the store isn't as simple as uploading a deb package - am I right? I need to create an account on Launchpad and put all my code there.  I don't intend to move from Git to Bzr merely for the sake of publishing to the app store but luckily, one is able to set up source-code mirroring from Github to Launchpad.  Since my application is still very premature, it'll have updates fairly often. When I build my application on my machine, do I simply go my Ubuntu App Developer page and upload the new DEB package or do they build my application from source?  What exactly is the PPA for? I don't think I'll need too many of the Launchpad features so I'd like to stick to Github if possible.
75732
I have an Ubuntu GNOME 16.04 with GNOME 3.18 64-bit VM, and in that VM I needed to test something in the xenial-proposed channel so I activated it in the software-properties-gtk, ran sudo apt-get update &amp;&amp; sudo apt-get dist-upgrade and installed all the upgrades from the xenial-proposed channel as I couldn't find a way to get it just to upgrade the package I needed.  Now however I wish to downgrade all the packaged upgraded to their xenial-proposed versions to their version in the stable/normal channels, but how can this be achieved? Can I use ppa-purge to do this? And if so, how?  If I just disable the xenial-proposed channel via the same means that I enabled it will the packaged installed and upgraded to their xenial-proposed versions start to receive updates again from the stable/normal channels once the version numbers there are higher than the installed or will I receive no updates at all then until I enable the xenial-proposed channel again?
84886
I searched and read all possible pages here but I could not find the exact problem.  When I open my terminal I am getting:  bash: /usr/bin/lesspipe: /bin/sh: bad interpreter: No such file or directory   then when I use apt-get update I am getting following errors.  Fetched 39,9 MB in 53s (747 kB/s)                                               Reading package lists. . .  Done W: GPG error: http://archive. canonical.com/ubuntu xenial InRelease: Could not execute 'apt-key' to verify signature (is gnupg installed?) W: The repository 'http://archive.canonical.com/ubuntu xenial InRelease' is not signed.  N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.  N: See apt-secure(8) manpage for repository creation and user configuration details.  W: GPG error: http://ppa.launchpad.net/nijel/phpmyadmin/ubuntu xenial InRelease: Could not execute 'apt-key' to verify signature (is gnupg installed?) ....... W: The repository 'http://us.archive.ubuntu.com/ubuntu xenial-security InRelease' is not signed.  N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.  N: See apt-secure(8) manpage for repository creation and user configuration details.  E: Problem executing scripts APT::Update::Post-Invoke-Success 'touch /var/lib/apt/periodic/update-success-stamp 2&gt;/dev/null || true' E: Sub-process returned an error code     $ namei -lx /bin/sh f: /bin/sh Drwxr-xr-x root root / drwxr-xr-x root root bin                      sh - No such file or directory   Does any one know why this error occurred and how can I solve it?
19440
I'm trying to compile a document that only works with an up-to-date distribution, so I'd like to know: how do I update my distribution? Please provide screenshots where appropriate.  List of answers           To keep an eye on what’s going on at CTAN you may subscribe to the  or the RSS feed feed://www.mail-archive.com/ctan-ann@dante.de/maillist.xml
19001
I'm on Fedora 27 and experience problems with updating the packages by dnf update. The problem is exactly as described here:   I tried to delete symlink under /usr/lib, but can't, even under root:  vplagov@thinkpad:~ $ sudo rm -f /usr/lib/cpp  rm: cannot remove '/usr/lib/cpp': Operation not permitted ... vplagov@thinkpad:~ $ file /usr/lib/cpp  /usr/lib/cpp: symbolic link to ../bin/cpp ... vplagov@thinkpad:~ $ ls -al /usr/lib/cpp  lrwxrwxrwx. 1 root root 10 Sep 15 15:01 /usr/lib/cpp -&gt; ../bin/cpp   I see that file has a dot at the end of file permissions. By googling I found commands to remove the SELinux context or ACL (I don't know what are those). But still can't fix it:  vplagov@thinkpad:~ $ sudo setfacl -b /usr/lib/cpp ... vplagov@thinkpad:~ $ ls -al /usr/lib/cpp  lrwxrwxrwx. 1 root root 10 Sep 15 15:01 /usr/lib/cpp -&gt; ../bin/cpp ...  vplagov@thinkpad:~ $ sudo rm -f /usr/lib/cpp  rm: cannot remove '/usr/lib/cpp': Operation not permitted ... vplagov@thinkpad:~ $ sudo setfattr -x security.selinux /usr/lib/cpp  setfattr: /usr/lib/cpp: Permission denied   Is there a "healthy" option to fix this?
67664
I get the following error when i do sudo apt-get update  W: GPG error: http://ppa.launchpad.net precise Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 6AF0E940624A220   I tried following ways after reading various questions here and also by googling.  I tried  sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6AF0E1940624A220   It did not help. I also tried  sudo gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys   thinking port 11371(default) may be blocked due to firewall.  I also tried to reset everything as follows  sudo rm /var/lib/apt/lists/* -vf sudo apt-get update &amp;&amp; sudo apt-get upgrade   still i get the same error or get update. Any other possible solution I can try?
102164
I can't say what steps brought me into this:  → sudo apt-get upgrade  Reading package lists... Done Building dependency tree        Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue [Y/n]? y dpkg: error processing libtiff4 (--configure):  libtiff4:i386 3.9.5-1ubuntu1.1 cannot be configured because libtiff4:k386 is in a different version (3.9.5-1ubuntu1) Errors were encountered while processing:  libtiff4 E: Sub-process /usr/bin/dpkg returned an error code (1)   The following commands all end up in the same error:  sudo apt-get install -f sudo dpkg --configure -a sudo apt-get --fix-broken install sudo apt-get --fix-missing install sudo apt-get clean sudo apt-get autoclean sudo apt-get autoremove   How to solve these kind of problems? And what did I do wrong?  UPDATE I managed to get apt working again by downgrading to previous version (3.9.5-1ubuntu1). However, next upgrade led to the same problem. But there is more info now:  (Reading database ...  dpkg: warning: files list file for package `libtiff4:k386' missing, assuming package has no files currently installed. (Reading database ... 281166 files and directories currently installed.) Preparing to replace libtiff4 3.9.5-1ubuntu1 (using .../libtiff4_3.9.5-1ubuntu1.1_i386.deb) ... Unpacking replacement libtiff4 ... dpkg: error processing libtiff4 (--configure):  libtiff4:i386 3.9.5-1ubuntu1.1 cannot be configured because libtiff4:k386 is in a different version (3.9.5-1ubuntu1) No apport report written because MaxReports is reached already                                                               Errors were encountered while processing:  libtiff4   So the real problem seems to be the missing libtiff4:k386 package. And k386 seems like a stupid typo somewhere.  I tracked down the file that introduces the typo:  **/var/lib/dpkg/status**  Package: libtiff4 Status: install ok half-configured Multi-Arch: same Priority: optional Section: libs Installed-Size: 528 Maintainer: Ubuntu Developers &lt;ubuntu-devel-discuss@lists.ubuntu.com&gt; Architecture: k386 Source: tiff Version: 3.9.5-1ubuntu1 Config-Version: 3.9.5-1ubuntu1 Depends: libc6 (&gt;= 2.11), libjpeg62 (&gt;= 6b1), zlib1g (&gt;= 1:1.1.4) Pre-Depends: multiarch-support Description: Tag Image File Format (TIFF) library  libtiff is a library providing support for the Tag Image File Format  (TIFF), a widely used format for storing image data.  This package  includes the shared library. Homepage: http://libtiff.maptools.org Original-Maintainer: Jay Berkenbilt &lt;qjb@debian.org&gt;   Fixing the typo solves the problem.
831
PPA seems to be constantly offline. Whenever I use sudo apt-get update, this error is shown:  W: Failed to fetch http://ppa.launchpad.net/ 404  Not Found   How do I fix these errors?
115352
Here is what I'm looking at. This isn't my computer. I repair PC's and I had an end user with this low powered laptop running XP so I decided to let him try out lubuntu. The install went smoothly with the non-PAE boot switch, but now I can't update anything. I'd rather not have to format and start over since he's spent time configuring his system. Any tips would be appreciated. I tried sudo apt-get clean, sudo apt-get install -f, sudo apt-get update. No go.  Also his touchpad stopped working, the wireless stopped working, the keyboard works in firefox but not chrome, and in firefox the address bar sometimes turns black and gray for some reason. I was hoping the update would help address some of this stuff.  Here's the message I get trying to update:  Get:1 http://us.archive.ubuntu.com/ubuntu/ trusty-proposed/main linux-image-3.13.0-26-generic i386 3.13.0-26.48 [14.6 MB] Get:2 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main linux-image-3.13.0-24-generic i386 3.13.0-24.47 [14.6 MB] Fetched 29.2 MB in 2min 19s (208 kB/s)                                          (Reading database ... 169286 files and directories currently installed.) Preparing to unpack .../linux-image-3.13.0-26-generic_3.13.0-26.48_i386.deb ... This kernel does not support a non-PAE CPU. dpkg: error processing archive /var/cache/apt/archives/linux-image-3.13.0-26-generic_3.13.0-26.48_i386.deb (--unpack):  subprocess new pre-installation script returned error exit status 1 Examining /etc/kernel/postrm.d . run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.13.0-26-generic /boot/vmlinuz-3.13.0-26-generic run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.13.0-26-generic /boot/vmlinuz-3.13.0-26-generic Preparing to unpack .../linux-image-3.13.0-24-generic_3.13.0-24.47_i386.deb ... This kernel does not support a non-PAE CPU. dpkg: error processing archive /var/cache/apt/archives/linux-image-3.13.0-24-generic_3.13.0-24.47_i386.deb (--unpack):  subprocess new pre-installation script returned error exit status 1 Examining /etc/kernel/postrm.d . run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.13.0-24-generic /boot/vmlinuz-3.13.0-24-generic run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.13.0-24-generic /boot/vmlinuz-3.13.0-24-generic Errors were encountered while processing:  /var/cache/apt/archives/linux-image-3.13.0-26-generic_3.13.0-26.48_i386.deb  /var/cache/apt/archives/linux-image-3.13.0-24-generic_3.13.0-24.47_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1)
57501
Both apt-get update and upgrade hang:  sudo apt-get update [sudo] password for xxx:  0% [Connecting to archive.ubuntu.com (2001:67c:1360:8001::17)]   I'm able to ping archive.ubuntu.com:  ping archive.ubuntu.com PING archive.ubuntu.com (91.189.88.162) 56(84) bytes of data. 64 bytes from yukinko.canonical.com (91.189.88.162): icmp_seq=1 ttl=50 time=42.2 ms 64 bytes from yukinko.canonical.com (91.189.88.162): icmp_seq=2 ttl=50 time=42.1 ms 64 bytes from yukinko.canonical.com (91.189.88.162): icmp_seq=3 ttl=50 time=42.1 ms ^C --- archive.ubuntu.com ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2002ms rtt min/avg/max/mdev = 42.169/42.206/42.265/0.240 ms   I checked , and I don't think its the same issue.  Any tips for investigating this further?
44583
I just did a do-release-upgrade going from Ubuntu 16.04 to 17.04. However, now when I login via SSH I have the following message   Welcome to Ubuntu 17.04 (GNU/Linux 4.10.0-20-generic x86_64)   * Documentation:  https://help.ubuntu.com  * Management:     https://landscape.canonical.com  * Support:        https://ubuntu.com/advantage  Ubuntu 12.04 LTS end-of-life was April 28, 2017 -- Upgrade your Precise systems!  $ sudo do-release-upgrade -m server  0 packages can be updated. 0 updates are security updates.   My question is, how can I remove the   Ubuntu 12.04 LTS end-of-life was April 28, 2017 -- Upgrade your Precise systems!  $ sudo do-release-upgrade -m server   it wasn't there prior the release-upgrade  I checked and I am on Zesty  lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description:    Ubuntu 17.04 Release:    17.04 Codename:   zesty   My question is not, how can I remove this message, this I found. My question is more, is there a reason why this appears after a release-upgrade? Is this message something generic not taking into consideration the current version of Ubuntu? Or maybe my system is not updated properly?
51958
The update from Trusty to Xenial is officially available via the software updater. After updating all packages, upgrading through the software updater yields:  Fetching the upgrade failed. There may be a network problem.   Doing a sudo do-release-upgrade yields:      Checking for a new Ubuntu release Err Upgrade tool signature                                                        403  Sorry, not allowed to fetch that type of file: xenial.tar.gz.gpg         Err Upgrade tool                                                                  403  Sorry, not allowed to fetch that type of file: xenial.tar.gz             Fetched 0 B in 0s (0 B/s)                                                       WARNING:root:file 'xenial.tar.gz.gpg' missing Failed to fetch Fetching the upgrade failed. There may be a network problem.
116417
I recently installed Ubuntu 15.10 on my old computer.  I'm now trying to create a windows usb stick to install on a new computer I'm building.  When I add the repository      sudo add-apt-repository ppa:colingille/freshlight   and I try to update, I get the following errors:      W: Failed to fetch http://ppa.launchpad.net/colingille/freshlight/ubuntu/dists/wily/main/binary-amd64/Packages  404  Not Found                               W: Failed to fetch http://ppa.launchpad.net/colingille/freshlight/ubuntu/dists/wily/main/binary-i386/Packages  404  Not Found      E: Some index files failed to download. They have been ignored, or old ones used instead.   Then when I try:     sudo apt-get install winusb   I get:     E: Unable to locate package winusb   Can anyone help me find a solution?