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 01-01-2009, 10:56 PM   #1
hallve_revera
LQ Newbie
 
Registered: Dec 2008
Posts: 25

Rep: Reputation: 15
Question sudo apt-get update && sudo apt-get upgrade


hi...
ive installed kubuntu 8.10 in my usb hdd trough pendrive linux tutorial.
i have a question. if we use "sudo apt-get update && sudo apt-get upgrade" command, do we have to connect to internet, since my atheros ar5007eg didnt work in kubuntu 8.10
 
Old 01-01-2009, 11:47 PM   #2
SilverBear2006
Member
 
Registered: Oct 2006
Location: Great Lakes region, North America
Distribution: Mepis 7.0, Mepis 8.0, ArchLinux, Pardus 2008, Kubuntu 8.04, Ubuntu 8.10
Posts: 69

Rep: Reputation: 16
Hi, hallve revera,
Yes.
apt-get commands like "update" and "upgrade" specifically do need an internet connection.
Update synchronizes your list of available packages with the servers in source repositories.
Upgrade then downloads & installs any newer versions of your installed progs.

happy new year,
--SilverBear
 
Old 01-01-2009, 11:54 PM   #3
wet-willy
Member
 
Registered: Dec 2008
Posts: 44

Rep: Reputation: 17
Yes, you need an internet connection.
You may have to use this command: sudo apt-get update && apt-get upgrade eliminating the second sudo as it's all one command and you may not be around to put admin. password when it's done the first step.
 
Old 01-02-2009, 09:12 AM   #4
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
The Acer Aspire One Ubuntu docs outline getting the ar5007 working in Ubuntu.


Quote:
Originally Posted by Ubuntu AspireOne docs
https://help.ubuntu.com/community/AspireOne
Wireless module

* There has been some confusion as to which wireless driver provides the best performance and reliability. I have found the following:

o madwifi from kernel (ath_pci) - does not attach to hardware.
o ath5k from intrepid backports (ath5k) - connects to hardware, but experiences disconnects on medium to heavy wireless activity, and can not communicate with some AP's using WPA2 PSK.
o madwifi-hal from http://snapshots.madwifi-project.org/ (ath_pci) - Everything works.

I recommend using the most recent snapshot of madwifi-hal from http://snapshots.madwifi-project.org/

Code:
wget http://snapshots.madwifi-project.org/madwifi-hal-0.10.5.6-current.tar.gz
sudo apt-get install build-essential linux-headers-$(uname -r)
tar -xzf madwifi-hal-0.10.5.6-current.tar.gz
cd madwifi-hal-0.10.5.6*/
make
sudo make install
modprobe ath_pci
* You may have to append ath_pci to /etc/modules:
Code:
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.

fuse
lp
ath_pci
* This driver should work under all conditions. I have tested the driver under heavy load (3MB/s sustained for 2 hours, no hangup), tested for correct suspend/resume functionality, and verified it communicates correctly with WEP, WPA, WPA2, against recent Linksys, Dlink, and Cisco hardware.
Find a wired connection to use and get your wirelss working.

Works great for me in Debian.

Last edited by farslayer; 01-02-2009 at 09:14 AM.
 
Old 01-09-2009, 05:15 PM   #5
hallve_revera
LQ Newbie
 
Registered: Dec 2008
Posts: 25

Original Poster
Rep: Reputation: 15
Is there anyway to do it offline,
i mean using another comp to download the package and install it in my kubuntu...?
 
Old 01-09-2009, 08:57 PM   #6
rsciw
Member
 
Registered: Jan 2009
Location: Essex (UK)
Distribution: Home: Debian/Ubuntu, Work: Ubuntu
Posts: 206

Rep: Reputation: 44
not that I know off, but then, i never tried nor really poked around much with it. someone might know more info...

just a small hint / idea --> What I do, is, I always use "sudo apt-get -u upgrade", the -u prevents the automatic start of the upgrade, it will list all packages it found and then ask y/n to continue. helpful if you want to have an overview or only select a few of the listed packages. (unless *buntu does it automatically already, the -u option, no idea)
 
Old 01-10-2009, 09:37 AM   #7
SilverBear2006
Member
 
Registered: Oct 2006
Location: Great Lakes region, North America
Distribution: Mepis 7.0, Mepis 8.0, ArchLinux, Pardus 2008, Kubuntu 8.04, Ubuntu 8.10
Posts: 69

Rep: Reputation: 16
It would be simpler to get the wireless working

Quote:
Originally Posted by hallve_revera View Post
Is there anyway to do it offline,
i mean using another comp to download the package and install it in my kubuntu...?
Yes. You can do it this way, but it will be pretty convoluted. Not impossible, but . . .I can't conceive of wanting to try it.

If you were only installing one package: sure, download the correct package on one computer, copy the package to the other, and install it.

But if you're doing a upgrade of all upgradeable packages, it's not a one-step process even on the target computer.

First you need to compare your current package list with the ones in the repositories:
Quote:
sudo apt-get update
If you don't have an internet connection on the target computer, how will you run that command to compare your packages to the repo packages and find out what needs upgrading?

It would be time well spent, in the long run, to try to get that wireless connection working, as one poster suggested.

If you absolutely can't get it working in Kubuntu, then Mepis and Pardus are both rock-solid KDE distros --you might have better luck there.
What version of Kubu are you using -- 8.10?
 
  


Reply

Tags
apt-get, upgrade


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
custom kernel && apt-get upgrade props666999 Debian 5 08-01-2008 06:03 PM
Howabout apt-get update ; apt-get upgrade -f -y --force-yes in the crontab every week frenchn00b Debian 1 04-05-2008 07:47 AM
Sudo Apt-get command use. Mr.Carioca Linux - Distributions 1 02-09-2008 07:05 PM
cron apt-get sudo props666999 Debian 5 11-13-2007 09:53 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 10:21 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
Open Source Consulting | Domain Registration