LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-15-2015, 06:58 PM   #1
Theambitiousguy
LQ Newbie
 
Registered: Jun 2015
Posts: 1

Rep: Reputation: Disabled
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
 
Old 06-16-2015, 11:58 AM   #2
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Linux From Scratch, Slackware64, Partedmagic
Posts: 2,436

Rep: Reputation: 611Reputation: 611Reputation: 611Reputation: 611Reputation: 611Reputation: 611
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
 
Old 06-16-2015, 11:58 AM   #3
rtmistler
Moderator
 
Registered: Mar 2011
Location: Sutton, MA. USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu
Posts: 5,712
Blog Entries: 12

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
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.
 
Old 06-16-2015, 12:01 PM   #4
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Linux From Scratch, Slackware64, Partedmagic
Posts: 2,436

Rep: Reputation: 611Reputation: 611Reputation: 611Reputation: 611Reputation: 611Reputation: 611
snap! ain't it odd when two people post the same thing at the same time!
 
Old 06-16-2015, 01:21 PM   #5
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 6,800

Rep: Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945
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.

Last edited by 273; 06-16-2015 at 01:29 PM. Reason: Typo's, see how they cause problems?
 
Old 06-16-2015, 01:24 PM   #6
Head_on_a_Stick
Senior Member
 
Registered: Dec 2014
Location: London, England
Distribution: Arch & Debian
Posts: 1,183

Rep: Reputation: 283Reputation: 283Reputation: 283
Quote:
Originally Posted by Theambitiousguy View Post
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!

Last edited by Head_on_a_Stick; 06-16-2015 at 01:27 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Confounded by chapter 7.4 Pedantick Linux From Scratch 4 12-17-2013 09:19 PM
[SOLVED] 404errors when running apt-get update already tried sudo rm /var/lib/apt/lists/* -vf rasec8711 Linux - Software 2 05-31-2012 10:33 AM
sudo apt-get ::top/funnest apt-gets you have ever done hansolo669 Linux - General 0 04-01-2009 07:49 PM
sudo apt-get update && sudo apt-get upgrade hallve_revera Linux - Newbie 6 01-10-2009 09:37 AM
Sudo apt-get treotan Ubuntu 11 10-05-2007 06:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration