LinuxQuestions.org
Latest LQ Deal: Linux Power User 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 04-20-2011, 06:02 AM   #1
Bob32
Member
 
Registered: Mar 2011
Posts: 97

Rep: Reputation: 0
apt-get


hello,

I'm using a usb stick to test ubuntu.
Is it normal that apt-get install doesn't work ?
I have a internet connexion.

thanks
 
Old 04-20-2011, 06:07 AM   #2
mgai7755
Member
 
Registered: Apr 2011
Posts: 41

Rep: Reputation: 2
Strange !

Type apt- and hit TAB key twice. Does it list any command(s)?
Execute this too :

ls /usr/bin/apt*

Does this command give any output ?
 
Old 04-20-2011, 06:15 AM   #3
Bob32
Member
 
Registered: Mar 2011
Posts: 97

Original Poster
Rep: Reputation: 0
Typing apt- and hitting TAB key twice gives:
apt add repository
apt extract templates
apt mark
apt cache
apt ftparchive
apt sort pkgs
apt cd rom
apt get
apt config
apt key

ls /usr/bin/apt* gives:
usr/bin/apt-add-repository
usr/bin/aptitude
usr/bin/apt-cache
usr/bin/aptitude-create-stat-bundle
usr/bin/apt-cdrom
usr/bin/aptitude-run-stat-bundle
usr/bin/apt-config
usr/bin/apt-key
usr/bin/apt-dcon
usr/bin/apt-mark
usr/bin/apt-extra-ct-template
usr/bin/apt-sortpkgs
usr/bin/apt-ftparchive
usr/bin/apt-url
usr/bin/apt-get
usr/bin/apt-url-gtk

I live in France. Maybe I should add a special repository site ? (I don't remember how to change them).

Last edited by Bob32; 04-20-2011 at 06:19 AM.
 
Old 04-20-2011, 06:17 AM   #4
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
Quote:
Is it normal that apt-get install doesn't work ?
Can you tell us what you did, and the error messages?
What doesn't work?
You need to be root in order to use apt-get
Code:
sudo apt-get install foo
Kind regards
 
Old 04-20-2011, 06:24 AM   #5
Bob32
Member
 
Registered: Mar 2011
Posts: 97

Original Poster
Rep: Reputation: 0
yes I am root.
It says the package is not found.
sudo apt-get install amsn
 
Old 04-20-2011, 06:28 AM   #6
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
Take a look at
http://www.amsn-project.net/forums/i...p?topic=6448.0

Kind regards
 
Old 04-20-2011, 06:39 AM   #7
Bob32
Member
 
Registered: Mar 2011
Posts: 97

Original Poster
Rep: Reputation: 0
okay, but that was just an example. I was trying different packages, none worked. What about bkhive for example ?
 
Old 04-20-2011, 07:07 AM   #8
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
Please post your sources.list

Kind regards
 
Old 04-20-2011, 09:24 AM   #9
Bob32
Member
 
Registered: Mar 2011
Posts: 97

Original Poster
Rep: Reputation: 0
It's just the default 10.04 sources.list, I have made no changes. I don't have access to the usb stick right now.
It's the live "cd" except that it's a usb, so if I'm not mistaken I can't make any changes even if I wanted to.
By the way is it possible to install linux on a usb, rather than just a live cd, so that the modifications are kept ?
 
Old 04-20-2011, 10:16 AM   #10
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,983

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Quote:
It's the live "cd" except that it's a usb, so if I'm not mistaken I can't make any changes even if I wanted to.
That's correct.

Quote:
By the way is it possible to install linux on a usb, rather than just a live cd, so that the modifications are kept ?
Yes. It is referred to as persistence so google Ubuntu persistent install usb or something similar.
 
Old 04-20-2011, 10:27 AM   #11
xoomer_ua
LQ Newbie
 
Registered: May 2010
Distribution: Ubuntu
Posts: 7

Rep: Reputation: 1
Maybe Internet connection isn't established?
 
  


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
LXer: Make apt-get Installations and Upgrades 26x faster with apt-fast LXer Syndicated Linux News 1 10-25-2010 06:14 PM
LXer: New Apt-Fast Version, Now With Full Apt-Get Syntax Replacement LXer Syndicated Linux News 0 01-17-2010 08:51 PM
LXer: Create a Local Ubuntu Repository using Apt-Mirror and Apt-Cacher LXer Syndicated Linux News 0 08-04-2009 11:13 PM
apt pinning /etc/apt/apt.conf parent's_basement Debian 5 10-26-2008 06:50 PM
apt-get update errors since Debian released ( bad /etc/apt/sources.list ?) forgox Debian 10 06-13-2005 01:28 PM


All times are GMT -5. The time now is 01:57 AM.

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