LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09-03-2010, 06:34 AM   #1
ManiO
LQ Newbie
 
Registered: Nov 2008
Posts: 3

Rep: Reputation: 0
Adding a Live USB to a repository via command line [Kubuntu 10.04]


Couple of days I go I setup VLC using Kubuntu's graphic software manager, and installed the 3 plug-ins, one of which was related to pulse. After doing this sound stopped working in flash videos. I had read, not sure where, that Kubuntu didn't use pulse (which slipped my mind when setting up VLC).

So I make the mistake of removing everything which had pulse in it's name (again, via the graphic software manager). A message popped-up saying that some packages needed to be removed/edited (a LONG list, a big clue that I was doing something stupid I guess). I let it run it's course and after that it won't boot properly.

If I boot it normally it hangs at the Kubuntu screen with the five dots filling endlessly. If I press F1 it's stuck at "checking battery status."

Recovery mode boots, but the recovery option does nothing.

So I was wondering if I could boot into recovery mode and go into the terminal and add a live USB as a repository for apt, and try to salvage the install?

Or should I admit defeat and reinstall?
 
Old 09-05-2010, 09:58 PM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
You should be able to do this with apt-cdrom. Just put and entry in your /etc/fstab and then pass the correct argument to the -d option.

Eg, something like:
Code:
echo "/dev/sdb1       /media/usb     auto    rw,user,noauto  0       0" >> /etc/fstab
mkdir /media/usb
apt-cdrom -d /media/usb add
apt-get install whatever
Where I'm assuming the the usb stick will appear at /dev/sdb1.

But this all prompts the question: why can't you just use apt-get as usual and install packages from the repositories on the network?

Evo2.

PS. There should be no need to reinstall.
 
  


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: PPASEARCH- A tool that search and add PPA repository in ubuntu via command line LXer Syndicated Linux News 0 08-23-2010 06:50 AM
command-line distro with small disk footprint and large repository arbeit macht frei Linux - Distributions 8 02-23-2010 07:54 AM
Grep command and adding a line Treikayan Linux - Newbie 4 07-03-2009 10:57 AM
Adding users via command Line AmdMhz Linux - Software 4 10-31-2004 02:29 PM
adding command line to starting coltranefawz Linux - Software 1 07-02-2003 12:34 PM


All times are GMT -5. The time now is 03:21 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