software-center can not find apache2 and many packages

Asked by SAITOH Akinori

Recently. I installd ubuntu 11.10 to 2PCs. Old dell dimension2400C and new white-box(shop made) PC.
The softwarte-center version 5.0.2 on OLD dell PC seems works well.
But software-center on New PC has a trouble.
On new PC, I invoked software-center I searched apache2. There is nothint match to "apache2".
So I inspected difference between two PCs.

On DELL 2400c, software center says there are 36,075 items.
On NEW pc, software center says there are 3,707 items.

I compared "software source" configuration between two PCs, and I found nothing differ.

I typed
apt-cache pkgnames |grep apache2
and I found apache2 there. So I think underlying apt system works well.

and i tried somecommands. For example,

  apt-get update
  apt-get upgrade
  apt-get remove software-center ; apt-get install software-center
  apt-get purge software-center ; apt-get install software-center

but cound not fix software-center

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu software-center Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
enubuntu (mr.tennents) said :
#1

Please do this:
1. Open a terminal by hitting CTRL + ALT + T
2. Insert and run this command:
cat /etc/apt/sources.list

3. Then copy and paste here all the output.

Revision history for this message
Alexander Bejarano (alexbh) said :
#2

Konichiwa...

can you compare /etc/apt/sources.list ?

Revision history for this message
SAITOH Akinori (saitoh) said :
#3

thank you.
/etc/apt/sources.list is not equal for two machine.

/etc/apt/sources.list on my newL pc(has problem) :
----- BEGIN ---
# deb cdrom:[Ubuntu 11.10 _Oneiric Ocelot_ - Release i386 (20111012)]/ oneiric main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

## Major bug fix updates produced after the final release of the
## distribution.

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu oneiric partner
deb-src http://archive.canonical.com/ubuntu oneiric partner

## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu oneiric main
deb http://archive.ubuntu.com/ubuntu oneiric main universe restricted multiverse
deb http://security.ubuntu.com/ubuntu/ oneiric-security universe main multiverse restricted
deb http://archive.ubuntu.com/ubuntu oneiric-updates universe main multiverse restricted
deb http://archive.ubuntu.com/ubuntu oneiric-backports universe main multiverse restricted
deb-src http://extras.ubuntu.com/ubuntu oneiric main
----- END---

appendix:
/etc/apt/sources.list on DELL pc(no problem) :

----- BEGIN ---
# deb cdrom:[Ubuntu 11.10 _Oneiric Ocelot_ - Release i386 (20111012)]/ oneiric main restricted
deb-src http://archive.ubuntu.com/ubuntu oneiric main restricted #Added by software-properties

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://jp.archive.ubuntu.com/ubuntu/ oneiric main restricted
deb-src http://jp.archive.ubuntu.com/ubuntu/ oneiric restricted main multiverse universe #Added by software-properties

## Major bug fix updates produced after the final release of the
## distribution.
deb http://jp.archive.ubuntu.com/ubuntu/ oneiric-updates main restricted
deb-src http://jp.archive.ubuntu.com/ubuntu/ oneiric-updates restricted main multiverse universe #Added by software-properties

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://jp.archive.ubuntu.com/ubuntu/ oneiric universe
deb http://jp.archive.ubuntu.com/ubuntu/ oneiric-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://jp.archive.ubuntu.com/ubuntu/ oneiric multiverse
deb http://jp.archive.ubuntu.com/ubuntu/ oneiric-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://jp.archive.ubuntu.com/ubuntu/ oneiric-backports main restricted universe multiverse
deb-src http://jp.archive.ubuntu.com/ubuntu/ oneiric-backports main restricted universe multiverse #Added by software-properties

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu oneiric partner
deb-src http://archive.canonical.com/ubuntu oneiric partner

## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu oneiric main
deb http://security.ubuntu.com/ubuntu/ oneiric-security restricted main multiverse universe
deb-src http://extras.ubuntu.com/ubuntu oneiric main
----- END---

Revision history for this message
Warren Hill (warren-hill) said :
#4

If by software center you mean the simplified interface. I cant find it either however try opening a terminal (CTRL-ALT-T)

and type

sudo apt-get install apache2

It will ask for your password and should work.

 If not re-open this question with the full output of the command by selecting "Edit/SelectAll" from the terminal menu then "Edit/Copy". Finally post that here

Revision history for this message
SAITOH Akinori (saitoh) said :
#5

Thank you.
I already installed apache2 with apt-get command.
But I still want to solve the software-center trouble.

Yesterday, a novice student installed ubuntu 11.10 to another new machine. And software-center trouble occure again.
I wonder he gave something wrong input in installation.

Revision history for this message
Launchpad Janitor (janitor) said :
#6

This question was expired because it remained in the 'Open' state without activity for the last 15 days.