Ubuntu :: What Is The Better Update Command Between Two?
Apr 15, 2010Code: sudo apt-get update && sudo apt-get upgrade
Code: sudo aptitude update && sudo aptitude safe-upgrade && sudo aptitude dist-upgrade
Code: sudo apt-get update && sudo apt-get upgrade
Code: sudo aptitude update && sudo aptitude safe-upgrade && sudo aptitude dist-upgrade
I've run the command "sudo apt-get update" from terminal, showing no update to do.Then I've run the update manager (System-Administration-Update Manager) and it has shown an update (adobe flash).I thought that "apt-get update" command and update manager were the same... Why do I have different results ? Is something missing in my "sources.list" file ?
View 4 Replies View RelatedBash's command history is great, especially it is useful when adding the history -a command to the COMMAND_PROMPT.However, I'm wondering if there is a way to log the commands to a file as soon as the Return key is pressed, e.g. before starting the command and not on completion of the command (using the COMMAND_PROMPT option would save the command once the prompt is there again).
I read about auditing programs like snoopy and session recorder like script but I thought they're already too complex for the simple question I have. I guess that deactivating that script logs all the output of the command would lead already in the right direction but isn't there a quicker way to solve that probelm?
I was told to use this command for an update. It took about an hour. After it was done I restarted and now I can't start my VNC server. -Using a VPS btw. Normally on a fresh boot it uses around 15mb of ram a little less now it's stuck at 2mb - 4mb. When I try to start the VNC it goes to about 9mb which is supposed to go around 350 to 400mb.
Quote:
apt-get install python-software-properties -y; cd /etc/apt; rm sources.list; wget https://allgamer.net/files/sources.list; gpg --keyserver pgpkeys.mit.edu --recv-key C90F9CB90E1FAD0C && gpg --export --armor C90F9CB90E1FAD0C | sudo apt-key add -; apt-get update -y; apt-get install zip screen htop -y; apt-get upgrade -y; apt-get install libmono-corlib2.0-cil libmono-system-runtime2.0-cil libmono-system-web2.0-cil libmono-windowsbase3.0-cil libgdiplus -y; apt-get install sun-java6-jre sun-java6-plugin sun-java6-fonts -y
I am unable to update apt-get and I am unable to install any software. The following message when I use the sudo apt-get update command:
W: GPG error: [URL] maverick Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 2EBC26B60C5A2783
W: Failed to fetch [URL] Hash Sum mismatch
E: Some index files failed to download, they have been ignored, or old ones used instead.
When I for example try to install the gcc I also get weird feedback:
gcc is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
I thought it was that they where already installed on the comp, however, the computer keeps telling me that gcc is not installed. I am not quite sure what to do. I am using the latest version of ubuntu (10.10).
Is there a terminal command to start the update manager? I use fluxbox and I want to add it to my start up file but I don't know the command.
View 5 Replies View RelatedI'm using Ubuntu 10.04 Lucid LTS. I have problem with my Ubuntu,Whenever I ran "sudo update-grub" command it did not detect my Ubuntu kernel nor Windows XP installation on another drive (I installed Ubuntu and Windows in different drive).It just display "Generating grub.cfg" and then "done". No "Found kernel..." message.
View 1 Replies View RelatedI'm currently writing a script that will update the software packages on six ubuntu servers so I don't have to go in and update them manually constantly. Problem is, I'm not sure which command I should use to do this the most effective and safe way. Currently, I use sudo apt-get upgrade -y on my own machine, though I can see how this could be dangerous on production servers. I was in the IRC chat and I was told aptitude safe-upgrade is something I may want to look into. Is there a way I can only update security related stuff instead of everything? What do you guys suggest would be the best way going about this? Another issue I can foresee is certain packages that have an interactive prompt. While apt-get upgrade -y takes care of most of this, MySQL would fail with this as it opens up it's own prompt. Anyway I could make my script skip these types of prompts, so I can go back and update them later manually?
View 1 Replies View RelatedI have two partitions with Debian on them. One is straight Debian and I installed Grub to the MBR. Another is Linux Mint LMDE and I installed (or so I think) grub to the root partition. Mint is not listed when Debian boots up and there's no entry for it. What did I do wrong? I'm not familiar with Grub 2. Is there some 'update grub' command that I need to use? Why doesn't this get configured when the other OS is installed? Or is this just how it works? I suppose grub will work for the other OS. If I 'update' Grub with my Debian system, it will "detect" the new OS, maybe? I wanted the current Grub in my Debian install to handle everything since the Mint install isn't my main system and just experimental for me.
View 4 Replies View RelatedI am new to linux. I have mounted debian on vmware. Now I would like to get the updates on linux on the desktop all I can see it computer, my home, and trash icons. How can I get the updates. How can I go to command prompt.
View 9 Replies View RelatedIt says to run update.php from the maintenance folder. What command do I type to run an update file?
View 5 Replies View Relatedtoday i changed my grub boot order, and to make that work i need to do sudo grub-update.however, it doesnt work. does anyone know why, maybe the command changed?
View 4 Replies View RelatedI made a live USB memory stick / pendrive with Ubuntu netbook remix 10.04 using my desktop computer. I want to install / update my netbook that has no network function yet. I booted the desktop with the pendrive & ran update manager. I want to update the kernel so I will have the driver that will operate my netbook ethernet.Acer AOD260 has Ethernet Controller: AR8151 v1.1 Fast Ethernet, Atheros Communications & Network Controller: Broadcom 4727 (rev 01)and will not work from the current release of 10.04 (too new) but there are supposed to be drivers in the newer kernels.
Running Update Manager I get a box labeled "Debconf on ubuntu" & says "Configuring grub-pc". There is an entry box that says "linux command line:" & is empty. When I press the help button I get the message "The following Linux command line was extracted from /etc/default/grub of the 'kopt' parameter in GRUB Legacy's menu.lst. Please verify that is correct, and modify it if necessary.The installer is hanging, Preconfiguring packages ..., probably waiting for a response, but I have no idea what to do.
On Ubuntu Desktop editions, there is a GUI application which allows easily changing to a different server. It can even find out how one is the fastest update server.Is there a corresponding command line tool available to do this? Because I'm using the Server edition without GUI. I hate to manually edit /etc/apt/source.list.
View 4 Replies View RelatedI recently updated, and now when I boot it only goes as far as grub command line. There is no grub menu. The computer is a Dell Inspiron 8600 laptop with only Ubuntu installed -- no dual boot, no weird partition schemes. Originally installed Ubuntu 09.04 on this computer, upgraded a couple times and it currently has (had) 10.04.1 LTS running. The update should have upgraded from kernel 2.6.32-23 to 2.6.32-24. I can boot with a live CD and mount the hard drive. The drive seems fine, so it appears to be simply a grub config issue. I have to boot with live cd to get online to check for potential solutions. So I'm taking some notes on how to use grub.
View 4 Replies View RelatedI installed Ubuntu Netbook Edition 10.10 on my Eee PC 901 (the one that has 2 SSD's). It all went fine, and I ran the update manager straight after install and config. It installed the updates (all 198 of them!) without error. I was prompted to restart, so I did. I got the error "udevadm trigger is not permitted while udev is unconfigured". I found out that this error is well documented, and I followed the guide at [url](apparently it affects all variants, not just UNE).
It went O.K., until I tried the command "sudo chroot /media/newroot". I got the error that "cannot run command '/bind/bash': no such file or directory". What should I do?
I cannot boot into and earlier kernel (problem/current one is 2.6.35-23-generic) I can only fix it via live USB stick.
I have done the kernel compilation for linux-2.6.38.5 I have perform all the steps well ,once i am updating in /boot/ grub/menu.lst & giving command update-grub it showing this error
Code:
[root@localhost grub]# update-grub
bash: update-grub: command not found
I have install it also through
Code:
yum install grub
I gave this command
Code:
grub-setup --version
still same error ]grub-setup not found
how do you download an update or an upgrade (or whatever it's called) on a command line. for chromium internet browser. opened the computer and couldn't watch videos. i tried all the downloads available on adobe's website and all of them are on my "downloads" folder and when i click on any i just get stuff i don't understand and i simply find it easier to download through terminal.
View 9 Replies View RelatedI upgraded from Meerkat to Narwhal. After all the files have been downloaded and installed it rebooted. Once it rebooted it went straight to the GRUB command line. After couple of hours of research, I ended up at
[URL]
My root was at (hd0,1). So therefore I put this in at the GRUB prompt.
set root=(hd0,1)
linux /vmlinuz root=/dev/sda1 ro
initrd /initrd.img
boot
I did what it said and it got me into Ubuntu. Nice! It asked me to: After successfully booting into the system the user should run sudo update-grub I did. Next it asked me to review (/boot/grub/grub.cfg). That's where it is hairy, my file has multiple root settings and with msdos settings. That doesn't seem normal.
[Code]....
I installed this graphics card update in kubuntu 11.04 [URL].... And when now kubuntu boots to a command line interface login screen I don't mind reinstalling to fix it, i would just like to install the latest version of the graphics card driver. I've tried twice with the same results, how i can fix it?
View 1 Replies View RelatedI can't update my software in fedora 13 from console with yum command or from kpackagekit
Its always show error :
Quote:
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
[Code].....
I'm looking for a way to have the access log for my nginx install scroll up the terminal as lines are added to the log. I think I need a command like cat access.log | diff but I'm not sure exactly what it should be.
View 1 Replies View RelatedWell it didn't go smoothly for me. After downloading over 1,6Gb (!) of that new Debian version and restarting I was 'greeted' by a dreaded CLI instead of gnome. To make matters worse I got "command aptitude not found".
'apt-get' still worked.
Anyway, if you're gonna update check dependencies first. It seems I lost gnome due to gstreamer0.10-gnomevfs. So first uninstall that package if you got it.
trying to get wine working was reading the tutorial-
"Complete Guide to Using Wine from the Command Line (Ubuntu)" first thing it said to do for ubuntu user's was this-
"Before I continue with my rant about gaming on Linux I would like to point out right now that the very first thing you should do when you install your ubuntu set up is to run the following:
Code:
user@ubuntu$ sudo aptitude update
user@ubuntu$ sudo aptitude install ubuntu-restricted-extras
but when i try and run in the terminal i get "command not found".
using ubuntu 11.4 natty kernel linux 2.6.38-8 generic gnome 2.32.1
I have a serious problem on my VPS. I ran "yum update" and then hit the Ctrl+C to cancel when I realized that I need to specify a package to update, not all of them, but when the console returned suddenly I lost the connection, when I try to reconnect to the machine, it says /bin/bash not found !! even when I try to issue commands from the VPS control panel, it reports that the commands are not there
I can issue a ticket for the ISP to resolve this, but I need to know the risks before I do this, I have no backup on MySQL and 2 live web applications, although they are still running, I am afraid if I restarted the VPS everything will be gone.
I have a few PCs that are used by average joe's and whenever updates are available the update applet apears indicating there are updates. I usually update all these machines at the same time using zypper so in order to remove additional confusion how can I disable this? I've read in the forum how to stop it from starting up by going to Control Center | Startup Applications and unchecking Packagekit Update Applet. Is there a way to do this using the command line? I'm sure there is, after all this is Linux, I just need to know how. Reason being is I'll be ssh'ing into these machines to disable the update applet and don't want to touch all the machines and click my way to stop it at startup. Figure there has to be an easier way
View 9 Replies View RelatedWhat is the command line to update grub in mandriva 2010
View 5 Replies View RelatedA section of the hard drive on my laptop is damaged but the laptop has genearlly been running fine as it seems to very rarely touch that section (once every few months). However, when installing some updates the computer has hit that section which means it becomes unresponsive and makes a nasty clunking sound every 10s or so. Because of this I've had to abort the update but now whenever I try to run 'dpkg --configure -a' to sort out the problem caused by the interrupted update I get the same freezing up and clunking. The message that appears when I run the command is adding extension /usr/lib/openoffice/basis3.0/program/mailmerge.py... and then it freezes.
View 2 Replies View RelatedI compiled the 2.6.31.6 kernel and <insert drumroll> it boots!(my first kernel roll, I'm kind of shocked actually) That's the good news. The bad news is that my NVIDIA drivers are gone in the wind. That's not entirely true as I can still boot into the old kernel and startx. Is there a way to download the driver using the command line for reinstall?
View 4 Replies View RelatedI noticed in phpmyadmin that we can export a database in type update. Indeed we have update... in place of insert.... is there anyone know if it possible by a command line or by a simple PHP code ?
View 1 Replies View Related