LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   sudo apt-get update && sudo apt-get upgrade (http://www.linuxquestions.org/questions/linux-newbie-8/sudo-apt-get-update-and-and-sudo-apt-get-upgrade-694365/)

hallve_revera 01-01-2009 11:56 PM

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

SilverBear2006 01-02-2009 12:47 AM

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

wet-willy 01-02-2009 12:54 AM

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 10:12 AM

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.

hallve_revera 01-09-2009 06: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 09: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 10:37 AM

It would be simpler to get the wireless working
 
Quote:

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:
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?


All times are GMT -5. The time now is 02:11 AM.