Unsolved
This post is more than 5 years old
13 Posts
0
42926
February 9th, 2016 13:00
Unable to locate package apt-get install rcs, openssh-server, etc.
I have a new out of the box Dell Precision tower 3620 that came with ubuntu 14 installed. I tried to use apt-get to install openssh-server and rcs, got message "Unable to locate package". Obviously these packages have to exist, I have other ubuntu boxes that have these installed. Somehow the default config of apt-get on this dell is different from the default config when I install ubuntu myself. I never tweak the config of apt-get, so I have no idea how to fix. Any clues?
# apt-get -y install rcs
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package rcs
# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.2 LTS
Release: 14.04
Codename: trusty
# ls /etc/apt/
apt.conf.d/ sources.list sources.list.d/ trustdb.gpg trusted.gpg.d/
preferences.d/ sources.list~ sources.list.orig trusted.gpg
# ls /etc/apt/preferences.d/
# ls /etc/apt/apt.conf.d/
00aptitude 01autoremove-kernels 20archive 50unattended-upgrades
00trustcdrom 10periodic 20changelog 70debconf
01autoremove 15update-stamp 20dbus 99update-notifier
# cat /etc/apt/sources.list
# ls /etc/apt/sources.list.
sources.list.d/ sources.list.orig
# ls /etc/apt/sources.list.d
trusty-dell.list trusty-dell-ws-vivid-skl.list trusty-oem.list trusty-oem-sp1.list
# cat /etc/apt/sources.list.d/*
deb dell.archive.canonical.com/updates trusty-dell public
deb-src dell.archive.canonical.com/updates trusty-dell public
deb dell.archive.canonical.com/updates trusty-dell-ws-vivid-skl public
deb-src dell.archive.canonical.com/updates trusty-dell-ws-vivid-skl public
deb oem.archive.canonical.com/updates trusty-oem public
deb-src oem.archive.canonical.com/updates trusty-oem public
deb oem.archive.canonical.com/updates trusty-oem-sp1 public
deb-src oem.archive.canonical.com/updates trusty-oem-sp1 public


tdbtdb12
13 Posts
0
February 9th, 2016 16:00
use the "software & updates" gui panel. In the "ubuntu software" tab, check everything except "source code". in the "updates" tab, check "important security updates" and "recommended updates". Close the panel, saving changes. Then retry apt-get and it works.