LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   sudo apt and so forth has confounded me. (https://www.linuxquestions.org/questions/linux-newbie-8/sudo-apt-and-so-forth-has-confounded-me-4175545448/)

Theambitiousguy 06-15-2015 06:58 PM

sudo apt and so forth has confounded me.
 
O Wise Forum,

I'm fairly new to Debian, having jumped to it after Windows got boring and Mint was too straight forward and--frankly--not fast enough on my Frankenstein-rebuilt machine.

My question today is how to go about getting stuff downloaded. I want Midori and I want Flash Player for IceWeasel.

What I've done so far:

I've entered the following into the terminal:

$ su
#sudo apt-get update
Ign cdrom://[Debian GNU/Linux 8 _Jessie_ - Official Snapshot i386 LIVE/INSTALL Binary 20150425-15:14] jessie InRelease
Ign cdrom://[Debian GNU/Linux 8 _Jessie_ - Official Snapshot i386 LIVE/INSTALL Binary 20150425-15:14] jessie Release.gpg
Ign cdrom://[Debian GNU/Linux 8 _Jessie_ - Official Snapshot i386 LIVE/INSTALL Binary 20150425-15:14] jessie Release
Ign cdrom://[Debian GNU/Linux 8 _Jessie_ - Official Snapshot i386 LIVE/INSTALL Binary 20150425-15:14] jessie/main i386 Packages/DiffIndex
Ign cdrom://[Debian GNU/Linux 8 _Jessie_ - Official Snapshot i386 LIVE/INSTALL Binary 20150425-15:14] jessie/main Translation-en_US
Ign cdrom://[Debian GNU/Linux 8 _Jessie_ - Official Snapshot i386 LIVE/INSTALL Binary 20150425-15:14] jessie/main Translation-en
Hit http://security.debian.org jessie/updates InRelease
67% [Working]
Hit http://security.debian.org jessie/updates/main Sources
Hit http://security.debian.org jessie/updates/main i386 Packages
Hit http://security.debian.org jessie/updates/main Translation-en
Reading package lists... Done

And then I'll go and try this:

# sudo apt-get install midori
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package midori

And a very similar thing happens when I tried to get my paws on Adobe Flash. I'm guessing my repositories are FUBAR'd somewhere along the line or something, but I'm not sure where to go from here. My extensive search of the interwebs has yielded only frustration and confusion. Help me, Obiwan Kenobie. I am only an egg.

Yours,
Derek

Keith Hedger 06-16-2015 11:58 AM

Don't know about apt but FYI as you have su'ed ( first line above ) you will be root so no real need to sudo as well, doesn't do any harm just unnecessary, also please use code tags see:
http://www.linuxquestions.org/questi....php?do=bbcode

rtmistler 06-16-2015 11:58 AM

Try:
Code:

sudo apt-cache search midori
Or any other string to find the actual package name. However "midori" should work, that would be the correct package name.

And since you're already root, you do not require sudo.

Keith Hedger 06-16-2015 12:01 PM

snap! ain't it odd when two people post the same thing at the same time!

273 06-16-2015 01:21 PM

It seems you don't have any "network mirrors" in your apt.list.
You could either reinstall and add them during install (can be easier in some ways) or check the Debian documentation and other help to add the relevant network repositories, which requires the internet but does make things easier.

Head_on_a_Stick 06-16-2015 01:24 PM

Quote:

Originally Posted by Theambitiousguy (Post 5377717)
Code:

$ su
#sudo apt-get update
Ign cdrom://[Debian GNU/Linux 8 _Jessie_ - Official Snapshot i386 LIVE/INSTALL Binary 20150425-15:14] jessie InRelease
Ign cdrom://[Debian GNU/Linux 8 _Jessie_ - Official Snapshot i386 LIVE/INSTALL Binary 20150425-15:14] jessie Release.gpg
Ign cdrom://[Debian GNU/Linux 8 _Jessie_ - Official Snapshot i386 LIVE/INSTALL Binary 20150425-15:14] jessie Release
Ign cdrom://[Debian GNU/Linux 8 _Jessie_ - Official Snapshot i386 LIVE/INSTALL Binary 20150425-15:14] jessie/main i386 Packages/DiffIndex
Ign cdrom://[Debian GNU/Linux 8 _Jessie_ - Official Snapshot i386 LIVE/INSTALL Binary 20150425-15:14] jessie/main Translation-en_US
Ign cdrom://[Debian GNU/Linux 8 _Jessie_ - Official Snapshot i386 LIVE/INSTALL Binary 20150425-15:14] jessie/main Translation-en
Hit http://security.debian.org jessie/updates InRelease
67% [Working]
Hit http://security.debian.org jessie/updates/main Sources
Hit http://security.debian.org jessie/updates/main i386 Packages
Hit http://security.debian.org jessie/updates/main Translation-en
Reading package lists... Done


Looks like you only have the installation ISO in your sources.list (along with the security line).

Post the content of /etc/apt/sources.list

It should look like this:
https://wiki.debian.org/SourcesList#...8_.22Jessie.22

Aside from this, you are in for a disappointment 'cos midori has been dropped from jessie (apparently it's a buggy pile of crap):
https://packages.debian.org/search?k...le&section=all

EDIT: Re: Flash:
https://wiki.debian.org/FlashPlayer

@273: Snap! :D


All times are GMT -5. The time now is 06:11 AM.