Red Hat / Fedora :: Run Yum Clean All Command In Non Cache Mode
Feb 8, 2011How to run the yum command in non-cache mode. I browsed but didn't get the correct answer.
View 3 RepliesHow to run the yum command in non-cache mode. I browsed but didn't get the correct answer.
View 3 RepliesI have a small older HP OB6000 laptop with F14 on it and only 10GB of disk.
I've been weeding out a lot of packages I don't need on it to carve more user disk space.
One of the biggest disk consumers is /var/cache/yum. My problem is that even after a yum clean all it still consumes over 450MB.code...
I was laughing about klackenfus's post with the ancient RH install, and then work has me dig up an old server that has been out of use for some time. It has some proprietary binaries installed that intentionally tries to hide files to prevent copying (and we are no longer paying for support or have install binaries), so a clean install is not preferable.
Basically it has been out of commission for so long, that the apt-get upgrade DL is larger than the /var partition (apt caches to /var/cache/apt/archives).
I can upgrade the bigger packages manually until I get under the threshold, but then I learn nothing new. So I'm curious if I can redirect the cache of apt to a specified folder either on the command line or via a config setting?
I read somewhere that i can clean cache memory with this comand:
Code:
david@lap:~$ sudo echo 3 > /proc/sys/vm/drop_caches
bash: /proc/sys/vm/drop_caches: Permission denied
The problem is that permission is denied as you see...
I am using squid on my cent os 5. The cache directory is almost full.
Code:
# cache_dir ufs /var/spool/squid 1000 16 256
kindly guide me how can i flush or clean the data inside the cache directory of squid using terminal
I don't understand this error nor do I know how to solve the issue that is causing the error. Anyone care to comment?
Quote:
Error: Caching enabled but no local cache of //var/cache/yum/updates-newkey/filelists.sqlite.bz2 from updates-newkey
I know JohnVV. "Install a supported version of Fedora, like Fedora 11". This is on a box that has all 11 releases of Fedora installed. It's a toy and I like to play around with it.
I have problem with my printer HP Deskjet D1460. My printer is configured and works. When I send a file on the print, the printer clings a sheet of paper and starts to print, but a paper as was clean so clean and remains, after printing.
View 2 Replies View Relatedany one are implementing Transparent Cache in bridge mode. after googling i found article but its not working for me. any one have done this before ? [URL]
View 4 Replies View RelatedI have Fedora 14 along with vista. when I boot fedora, it gives following error at the beginning: Starting udev:udevd-work[505]:error opening ATTR{/sys/devices/pci0000......./usb3/......../power/level3} for writing. No such file or directory and halts right after- Starting atd :[ OK ] However I can use fedora in command mode. I had installed some softwares & had removed Evolution before this problem started.
View 9 Replies View Relatedmy fedora 14 did an automatic update tonight and on reboot it hangs displaying the "f" before the login in menu. The "f" is how I now feel.I do "fn+f2" as it is booting and it displays the sequence of loading items which report all is "ok" until it gets to "jexec services" and then it hangs.I do not know how to access the machine in command line mode and I am not sure what to do from here. I beleive the "jexec service" is a Sun Java item but I am not sure.
View 2 Replies View Relatedhow to config details of samba with commands not from gui
View 2 Replies View RelatedThe GUI for network configuration of Fedora is marvellous such that the configuration is almost fool-proof. But how can I make the connection by hand in the command line mode? It goes okay except the very last step. When I disconnect the eth0 interface from the right-hand side of the desktop GUI, I tested how to bring it back by command line but I failed. When disconnected, the ifconfig still shows the eth0 interface, with just the ip address portion changed.
I tried "ifconfig eth0 192.168.1.xx" to give it an ip address but the connection is still down even if the ifconfig shows an ip address for the eth0 interface. Then I tried "/etc/init.d/network restart" and "ifup eth0" and also "route add defaut gw 192.168.1.1" but none of these could accomplish the same work as a single click on the GUI to connect. I am very curious about how to do it in the terminal.
I see sometimes when you're compiling something to run, you do a make, install and clean. What exactly does clean do?
View 3 Replies View RelatedHow do I get the L2 and L3 cache size?
View 4 Replies View RelatedI'm using the linux 'script' command [URL]... to track some interactive sessions. The output files from that contain unprintable characters, including my backspace keystrokes.
Is there a way to tidy these output files up so they only contain what was displayed on screen?
Or is there another way to record an interactive shell session (input and output)?
I have a questions concerning tape drives.
Is it necessary to erase tape before recording ?
Do You know linux command to clean tape drive ?
Is there any commands I can type in gnu grub to wipe or format my harddrive
View 3 Replies View RelatedI installed squid cache on my ubuntu server 10.10 and it is work fine but i want to know how to make it cache all files like .exe .mp3 .avi ....etc. and the other thing i want to know is how to make my client take the files from the cache in the full speed. since am using mikrotik system to use pppoe for clients and i match it with my ubuntu squid
View 1 Replies View RelatedI am reading slab allocator, it defines slab cache, i am quite confuse is it same as hardware cache?
View 2 Replies View RelatedI configured cron to clean my /tmp directory, should I also add other locations to clean and especially /var/tmp.
View 4 Replies View RelatedIs there any difference between apt-get clean and aptitude clean? Do they both remove the same caches? Should I know any other commands for cleaning up wasted space on my ubuntu laptop?
View 1 Replies View RelatedI am an emacs user, and I noticed that on my new machine (running F15, 64bit) flyspell-mode will not work in tex mode.
I get errors that look something like this:
Code:
Spell-checking inequality-model.tex using hunspell with default dictionary...
Spell-checking region using hunspell with default dictionary...done
ispell-send-string: Process ispell not running
When done with a buffer, type C-x #
code....
Was wondering if anyone can explain briefly the relationship of "cache" and free memory in the "free" memory command.
View 2 Replies View Relatedi was looking for a way to stop my menus taking a few seconds to load my icons when i first open them and found a few guides suggesting using the gtk-upate-icon-cache command, but with the any colour you like icon theme i'm using (stored in my home folder .icons directory) i kept getting a "gtk-update-icon-cache: The generated cache was invalid." fault i used the inbuilt facility in the acyl script to copy the icons to the usr/share/icons directory and tried the command again, this time using sudo gtk-update-icon-cache --force --ignore-theme-index /usr/share/icons/ACYL_Icon_Theme_0.8.1/ but i still get the same error. i tried with several of the custom icon themes i've installed and only 1 of the first 7 or 8 i tried successfully created the cache.
View 4 Replies View RelatedI'm looking to make clean up script. I need it to,
Clear ALL Private Data in firefox
Clear Recent Doc's
Clear Trash
Clear Thumbnail folder
I know how to clear the trash from the command line and also the thumbnail folder. I tried to google how to clear firefox but the files to delete seemed to have changed from older versions, they seem to be sqlite files and also I'm unsure which ones to remove. how to clear recent doc's but all the guides seem to be to be for GUI.
Below is a print out of my partition Table from Fdisk, in Cylinder mode, Sector mode, and then in expert mode?
Why in expert mode does it look like Partitions 2 and 3 share the same sector / hd / Cylinders? Is this OK?
Code:
I purchased a foot pedal [URL], which I want to use as a substitute for the ALT, CTRL and SHIFT key (Mainly in my texteditor, Emacs, where these modifiers are used a lot for commands). So instead of pressing ALT+x I want to press the left pedal + x. However, instead of going into the command mode it just types x to the screen. If I keep the pedal pressed, and type another x, it switches into command mode, like it should have done right away. The device seems to use HID, and lsusb gives:
Bus 005 Device 004: ID 1130:660c Tenx Technology, Inc.
Is there a way, how I can change the behaviour of the device?
EDIT: sudo /etc/init.d/gdm stop worked, not sure why it did not before. Sorry for the whining!
I need to boot Ubuntu into a non-x, command line mode. So I can install an nvidia driver for my new GeForce GTX 260 (I had a GeForce 7900 running on my Ubuntu system using the synaptic open source 185 driver for nvidia, but there is no driver except the one I downloaded just now from nvidia's site for the GTX 260 card). That requires there be no X session running, not even in a separate domain so to speak. There is no rescue mode in Grub2. Recover mode in Grub still boots an X session (Gnome). Alt+F1 appears to be a clean command line terminal but even that does not work because the nvidia driver installer script sees through that ruse and knows there is an active Gnome session. I tried sudo /etc/init.d/gdm stop and that did not work. I tried ctr+alt+backspace and that did nothing.
What can I do? I tell you some days linux is just too frustrating, about to just toss the baby with the bath water and go back to Winblows. Bought a new graphics card today, and here I am stuck not being able to even install the driver from a command line prompt, geesh.
I am using Fedora 11 64-bit. The problem is, when I start to install any updates or new packages, the system return the following error:No package cache is available.The package list needs to be rebuilt.This should have been done by the backend automatically.
Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again.I am completely new to linux, meaning I have never, ever, used a linux based system. I have recently accustomed to myself with only the basic commands (ls, yum, help, g++ etc.)
This is after months of Mint, which is limited. One problem. It (Deb)boots to the terminal mode. uh... call me stupid, but I have no idea how to get to my desktop. Never needed that command once in my life. I can't find the answer anywhere. Typical. The most basic info is always overlooked. Whats the command line to get to the desktop so I can reconfig this?
View 14 Replies View Related