7
votes
Can I restore apt-get sources to the default?
You have a couple of PPAs which appear to no longer exist. Both of these PPAs (from compiz and versable) are not default elementary software sources.
You can remove software sources with the "...
- 9,734
7
votes
Why is my Elementary OS Not Updating via terminal / Apps are not updating from App Center?
To solve the problem "public key is not available: NO_PUBKEY A74F73EFFE70B91C", import the key:
wget -q "http://packages.elementary.io/key.asc" -O- | sudo apt-key add -
6
votes
Accepted
"apt-get upgrade" fails with errors (E: Encountered a section with no Package: header) and (W: Duplicate sources.list entry)
The lines that start with W: are warnings and not directly harmful. You somehow have the package source http://dl.google.com/linux/chrome/deb/stable/main (Google's repository for Chrome) listed twice. ...
6
votes
apt-get and add-apt-repository not working
Install Software Properties
sudo apt install software-properties-common
- 83
6
votes
Accepted
I extendedly removed apt package manager, how to fix?
0.4 loki
You can download the package apt
http://archive.ubuntu.com/ubuntu/pool/main/a/apt/apt_1.2.15ubuntu0.2_amd64.deb
and install via the command line
sudo dpkg --install ~/Downloads/apt_1.2....
- 4,502
6
votes
Accepted
Why is packagekitd is running?
Packagekitd is responsible for handling package operations (installation, uninstallation, updating, etc...) for AppCenter. It runs in the background so it can check for updates and await commands to ...
- 1,419
6
votes
Accepted
Error while doing 'sudo apt update': no Release file
Right click on the Files icon in Plank dock, select New Window As Administrator, go to /etc/apt/sources.list.d/ folder and edit the various files there related to each of the errors by changing ...
- 2,278
4
votes
Accepted
Cannot install OpenJDK 8
openjdk8 isn't in the trusty repositories therefore you will have to add another repository:
sudo add-apt-repository ppa:openjdk-r/ppa
sudo apt-get update
sudo apt-get install openjdk-8-jdk
Source: ...
- 1,746
4
votes
Accepted
sudo apt-get autoremove does not work
apt-get autoremove does not remove old kernels (by design). If you want to free up some space by removing old kernels you have to do this manually, but it's advised that the latest two kernel versions ...
- 3,520
4
votes
Accepted
How can I install indicator-session without pulling in extra packages?
As per these comments, using
--no-install-recommends
prevents the extra packages from installing.
- 1,918
4
votes
Accepted
Is it safe to use "apt-get autoremove"?
You should be able to safely run apt-get autoremove, but shouldn't usually need to.
It's almost always a bad idea to run commands unless you explicitly understand what they do and how, including any ...
- 4,929
4
votes
Accepted
How can I run a Terminal command as "root"?
The main key word/phrase to find solution is are you root ?
That means the command needs root privileges to run.
From man page of sudo
sudo allows a permitted user to execute a command as the ...
- 7,867
4
votes
Accepted
"could not find a distribution template for Ubuntu/n/a" error in elementary OS
The possible fix:
sudo apt-get install gksu # If not installed
sudo apt-get install libcanberra-gtk-module:i386 # If you get Failed to load module "canberra-gtk-module" error
Now gksudo nano /etc/...
- 7,867
4
votes
Accepted
Unable to install skype on elementary OS
The quickest way to find such problem is to verify the enabled repositories in /etc/apt/sources.list file directly and don't trust software-properties-gtk GUI tool. trusty-security & trusty-...
- 449
4
votes
I've deleted a file I need in the /lib directory. I am struggling to recover that file
Run sudo apt-get install --reinstall libssl1.0.0 in the terminal to reinstall the libssl library on system
I recommend before deleting a important file always rename it to YOURFILENAME.old or ...
- 2,733
4
votes
Why is my Elementary OS Not Updating via terminal / Apps are not updating from App Center?
Following what I've found about these topics, I think you either need to remove the conflicting package, or you need to overwrite it explicitly (I have no idea why its not an option that pops up while ...
- 547
4
votes
Accepted
Can't install elementary-tweaks on Juno
Follow this steps
Open a terminal, then write and execute (by pressing ENTER) this commands, one at a time:
sudo apt install software-properties-common
will ask your password
sudo add-apt-...
- 1,952
3
votes
There's any plans on switching to a new package manager (like dnf or pacman)?
Ubuntu itself is apparently working on replacing Deb packages with Snappy apps, and GNOME is working on cross-distro sandboxed applications.
I wouldn't be surprised if one of these projects made it ...
- 2,131
3
votes
Accepted
is it safe to leave packages held back?
Usually packages are held back because they require the installation of new packages or conflict and remove old packages. Typically you should just use the software updater app and it'll do the right ...
- 9,734
3
votes
Accepted
Adobe Flash Plugin Vulnerable
Fix your Sources
If you are seeing the “The update information is outdated.” warning, you should use the Software Updater to check for updates, and install any available. That should get rid of that ...
- 4,929
3
votes
Accepted
How do I resolve GPG NO_PUBKEY errors?
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys <PUBKEY>
where <PUBKEY> is 1F3045A5DF7587C3 in this scenario.
- 4,929
3
votes
Error while doing 'sudo apt update': no Release file
I do not have enough rep to comment on answers. So here it goes. That oneliner does the trick for you or anyone in same situation
find /etc/apt/sources.list.d/ -type f -exec sed -i.bak -e 's/loki/...
- 66
3
votes
Accepted
apt update "does not have a Release file"
So, I was looking in the wrong path. The file I needed to edit was /etc/apt/sources.list. I just replaced loki to xenial and it worked.
- 161
3
votes
Juno sources - no release file
I fix this replacing juno for bionic on
/etc/apt/sources.list.d/appcenter.list
/etc/apt/sources.list.d/patches.list
/etc/apt/sources.list.d/elementary.list
to find this list of files you can use
...
- 135
2
votes
How to fix gpg: keyblock resource `/etc/apt/trusted.gpg.d/<key>.gpg': resource limit
One may try launchpad-getkeys.
Delete all the contents in /etc/apt/trusted.gpg.d/.
Add $ sudo add-apt-repository ppa:nilarimogard/webupd8 repository
sudo apt-get update your local database
Install $ ...
- 2,116
2
votes
Accepted
There's any plans on switching to a new package manager (like dnf or pacman)?
There are not any plans to switch away from Debian/apt at this time
- 9,734
2
votes
Accepted
Problems with broken packages and apt-related issues
The solution is after discussion in chat.
Thanks to @Sneetsher for his assistance/help.
The main error:
dpkg: error: too-long line or missing newline in `/var/lib/dpkg/arch'
The simple command ...
- 7,867
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
apt × 144updates × 41
appcenter × 21
release-juno × 17
release-loki × 15
package-management × 15
software-installation × 14
system × 12
ppa × 12
dependencies × 11
repositories × 8
release-freya × 7
applications × 6
aptitude × 5
pantheon-terminal × 4
thirdpartyapps × 4
release-hera × 3
boot × 3
grub × 3
tweak-tool × 3
software-sources × 3
gpg × 3
odin × 3
laptop × 2
development × 2