-   Linux - Newbie (
-   -   sudo apt-get update && sudo apt-get upgrade (

hallve_revera 01-01-2009 10:56 PM

sudo apt-get update && sudo apt-get upgrade
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

SilverBear2006 01-01-2009 11:47 PM

Hi, hallve revera,
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,

wet-willy 01-01-2009 11:54 PM

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.

farslayer 01-02-2009 09:12 AM

The Acer Aspire One Ubuntu docs outline getting the ar5007 working in Ubuntu.


Originally Posted by Ubuntu AspireOne docs
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 (ath_pci) - Everything works.

I recommend using the most recent snapshot of madwifi-hal from


sudo apt-get install build-essential linux-headers-$(uname -r)
tar -xzf madwifi-hal-
cd madwifi-hal-*/
sudo make install
modprobe ath_pci

* You may have to append ath_pci to /etc/modules:

# /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.


* 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.

hallve_revera 01-09-2009 05:15 PM

Is there anyway to do it offline,
i mean using another comp to download the package and install it in my kubuntu...?

rsciw 01-09-2009 08:57 PM

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)

SilverBear2006 01-10-2009 09:37 AM

It would be simpler to get the wireless working

Originally Posted by hallve_revera (Post 3402957)
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:

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?

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