prompt
stringlengths
1
63.6k
completion
stringlengths
1
53.1k
Hi everyone, I erased all my /usr/bin/ files by mistake. I learned the lesson and from now on I will have alias rm='rm -i' in my .bashrc. I really want to fix the problem with the less pain possible (trying to avoid reinstall from scratch). Everything in my system (sid amd64) is healthy except that I don't have anything in /usr/bin/ not even dpkg. I ran into this article (http://codeidol.com/unix/knoppix/Repair ... -Packages/) of how to fix debian packages from knoppix. So I did what it says from knoppix i.e Code: Select all sudo dpkg --root /mnt/mydrive -i --force-architecture [code] dpkg_1.14.26_amd64.deb trying to install dpkg in my mounted system partition. However I get the following errors. [code] dpkg (subprocess): unable to execute new pre-installation script: Exec format error [code] dpkg (subprocess): unable to execute new post-removal script: Exec format error Same happens if i want to install any other package. Any ideas of why it is not working? Is there a better way to fix my problem? Thanks a lot in advance
One of you're problems is going to be that you gave nothing to install oackages with. Almost everything you need to work with anything was on /usr/bin. You need a minimal set of programs in order to repair everything. IF you had the necessary packages installed then in order to get to the rest I'd suggest: # aptitude reinstall ~i which would reinstall every package, therefore recreating all the bin files - but not touching any config files. I'm not sure what you would need at a minimum to run that though. If you knew what you need at a minimum then you could use a live cd to download those packages and extract the missing /usr/bin files. Once you had the min required you could then repair the rest as indicated above. Maybe somebody can come up with something. Let me think about it a bit. I've got the inklings of an idea tickling the back of my mind. Let my try to flesh it out and see if I can make something work. If I don't post back I couldn't come up with something I consider usable.
I downloaded and installed virtualbox-2.2_2.2.0-45846_Debian_lenny_amd64.deb and apt-get remove --purge VirtualBox and apt-get remove --purge virtualbox say there is nothing to remove! How do I remove it??: deniz@debian:~$ sudo apt-get remove --purge virtualbox Reading package lists... Done Building dependency tree Reading state information... Done Package virtualbox is not installed, so not removed 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. deniz@debian:~$ sudo apt-get remove --purge VirtualBox Reading package lists... Done Building dependency tree Reading state information... Done E: Couldn't find package VirtualBox deniz@debian:~$ Any help would be greatly appreciated! Thanks in advance!
Packagenames need to be exact. They're also case sensitive. Do this: Code: Select alldpkg -l *virtualbox* to find the package name. That's a lowercase "L" by the way. Then do Code: Select alldpkg -P <exact package name> That's a lowercase "L"
I've just installed the weekly Squeeze cd (AMD64) and updated it then upgraded to sid. First problem is the resolution, it's the right width but the height is wrong (can only see top half of screen) and Screen Resolution (in System > Preferences) is detecting 2 monitors (only have 1) 1 is a 17" PTS (which is my screen) and then an unknown screen above (when I press detect displays it comes up saying this screen is the unknown monitor and won't let me set the resolution above 1280x800) my normal resolution is 1280x1024, graphics card is ATI Radeon HD3200 and I'm using whatever driver comes with Squeeze (the open source one, haven't install fglrx as theres problems with it on 2.6.29 at the moment) In the screenshot you can see the top and bottom panels but on my monitor I can't see as far down as the bottom panel. Second problem is the kernel, Squeeze used the 2.6.26 kernel but after the upgrade to Sid I still only have the 2.6.26 kernel installed, i thought Sid was using the 2.6.29.
Just realised posting xorg.conf and a few other things would probably help. Xorg.conf (haven't touched this, left as it was) Code: Select allSection "InputDevice" Identifier "Generic Keyboard" Driver "kbd" Option "XkbRules" "xorg" Option "XkbModel" "pc105" Option "XkbLayout" "gb" EndSection Section "InputDevice" Identifier "Configured Mouse" Driver "mouse" EndSection Section "Device" Identifier "Configured Video Device" EndSection Section "Monitor" Identifier "Configured Monitor" EndSection Section "Screen" Identifier "Default Screen" Monitor "Configured Monitor" EndSection /var/log/Xorg.0.log Code: Select all(II) RADEON(0): EDID vendor "PTS", prod id 1701 (II) RADEON(0): DDCModeFromDetailedTiming: 1024x768 Warning: We only handle seperate sync. (II) RADEON(0): Using hsync ranges from config file (II) RADEON(0): Using vrefresh ranges from config file (II) RADEON(0): Printing DDC gathered Modelines: (II) RADEON(0): Modeline "1280x1024"x0.0 108.00 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync (64.0 kHz) (II) RADEON(0): Modeline "1024x768"x0.0 78.75 1024 1040 1136 1312 768 769 772 800 -hsync -vsync (60.0 kHz) (II) RADEON(0): Modeline "800x600"x0.0 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz) (II) RADEON(0): Modeline "800x600"x0.0 36.00 800 824 896 1024 600 601 603 625 +hsync +vsync (35.2 kHz) (II) RADEON(0): Modeline "640x480"x0.0 31.50 640 656 720 840 480 481 484 500 -hsync -vsync (37.5 kHz) (II) RADEON(0): Modeline "640x480"x0.0 31.50 640 664 704 832 480 489 491 520 -hsync -vsync (37.9 kHz) (II) RADEON(0): Modeline "640x480"x0.0 30.24 640 704 768 864 480 483 486 525 -hsync -vsync (35.0 kHz) (II) RADEON(0): Modeline "640x480"x0.0 25.20 640 656 752 800 480 490 492 525 -hsync -vsync (31.5 kHz) (II) RADEON(0): Modeline "720x400"x0.0 28.32 720 738 846 900 400 412 414 449 -hsync +vsync (31.5 kHz) (II) RADEON(0): Modeline "1280x1024"x0.0 135.00 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync (80.0 kHz) (II) RADEON(0): Modeline "1024x768"x0.0 78.80 1024 1040 1136 1312 768 769 772 800 +hsync +vsync (60.1 kHz) (II) RADEON(0): Modeline "1024x768"x0.0 75.00 1024 1048 1184 1328 768 771 777 806 -hsync -vsync (56.5 kHz) (II) RADEON(0): Modeline "1024x768"x0.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz) (II) RADEON(0): Modeline "832x624"x0.0 57.28 832 864 928 1152 624 625 628 667 -hsync -vsync (49.7 kHz) (II) RADEON(0): Modeline "800x600"x0.0 49.50 800 816 896 1056 600 601 604 625 +hsync +vsync (46.9 kHz) (II) RADEON(0): Modeline "800x600"x0.0 50.00 800 856 976 1040 600 637 643 666 +hsync +vsync (48.1 kHz) (II) RADEON(0): Modeline "1280x1024"x59.9 109.00 1280 1368 1496 1712 1024 1027 1034 1063 -hsync +vsync (63.7 kHz) (II) RADEON(0): Output: VGA-0, Detected Monitor Type: 1 (II) RADEON(0): EDID data from the display on output: VGA-0 ---------------------- (II) RADEON(0): Manufacturer: PTS Model: 6a5 Serial#: 280598 (II) RADEON(0): Year: 2005 Week: 36 (II) RADEON(0): EDID Version: 1.3 (II) RADEON(0): Analog Display Input, Input Voltage Level: 0.700/0.700 V (II) RADEON(0): Sync: Separate (II) RADEON(0): Max H-Image Size [cm]: horiz.: 34 vert.: 27 (II) RADEON(0): Gamma: 2.50 (II) RADEON(0): DPMS capabilities: Off; RGB/Color Display (II) RADEON(0): First detailed timing is preferred mode (II) RADEON(0): redX: 0.630 redY: 0.330 greenX: 0.300 greenY: 0.600 (II) RADEON(0): blueX: 0.148 blueY: 0.098 whiteX: 0.310 whiteY: 0.330 (II) RADEON(0): Supported VESA Video Modes: (II) RADEON(0): 720x400@70Hz (II) RADEON(0): 640x480@60Hz (II) RADEON(0): 640x480@67Hz (II) RADEON(0): 640x480@72Hz (II) RADEON(0): 640x480@75Hz (II) RADEON(0): 800x600@56Hz (II) RADEON(0): 800x600@60Hz (II) RADEON(0): 800x600@72Hz (II) RADEON(0): 800x600@75Hz (II) RADEON(0): 832x624@75Hz (II) RADEON(0): 1024x768@60Hz (II) RADEON(0): 1024x768@70Hz (II) RADEON(0): 1024x768@75Hz (II) RADEON(0): 1280x1024@75Hz (II) RADEON(0): Manufacturer's mask: 0 (II) RADEON(0): Supported Future Video Modes: (II) RADEON(0): #4: hsize: 1280 vsize 1024 refresh: 60 vid: 32897 (II) RADEON(0): Supported additional Video Mode: (II) RADEON(0): clock: 108.0 MHz Image Size: 337 x 270 mm (II) RADEON(0): h_active: 1280 h_sync: 1328 h_sync_end 1440 h_blank_end 1688 h_border: 0 (II) RADEON(0): v_active: 1024 v_sync: 1025 v_sync_end 1028 v_blanking: 1066 v_border: 0 (II) RADEON(0): Supported additional Video Mode: (II) RADEON(0): clock: 78.8 MHz Image Size: 337 x 270 mm (II) RADEON(0): h_active: 1024 h_sync: 1040 h_sync_end 1136 h_blank_end 1312 h_border: 0 (II) RADEON(0): v_active: 768 v_sync: 769 v_sync_end 772 v_blanking: 800 v_border: 0 (II) RADEON(0): Ranges: V min: 60 V max: 75 Hz, H min: 30 H max: 80 kHz, PixClock max 140 MHz (II) RADEON(0): Serial No: F5UC580280598 (II) RADEON(0): EDID (in hex): (II) RADEON(0): 00ffffffffffff004293a50616480400 (II) RADEON(0): 240f010368221b962a6e06a1544c9926 (II) RADEON(0): 194f54bfef0001010101010101018180 (II) RADEON(0): 000000000000302a009851002a403070 (II) RADEON(0): 1300510e1100001ec31e002041002030 (II) RADEON(0): 10601300510e11000000000000fd003c (II) RADEON(0): 4b1e500e000a202020202020000000ff (II) RADEON(0): 00463555433538303238303539380075 in RADEONProbeOutputModes (II) RADEON(0): EDID vendor "PTS", prod id 1701 (II) RADEON(0): DDCModeFromDetailedTiming: 1024x768 Warning: We only handle seperate sync. (II) RADEON(0): I2C device "DVI-0:ddc2" registered at address 0xA0. (II) RADEON(0): I2C device "DVI-0:ddc2" removed. (II) RADEON(0): Output: DVI-0, Detected Monitor Type: 0 invalid output device for dac detection (II) RADEON(0): Output: None, Detected Monitor Type: 0 Dac detection success in RADEONProbeOutputModes (II) RADEON(0): Total number of valid Screen mode(s) added: 0
Masters, today after updating my system, the background did not show up. Only XFCE Panels with apps icons. So went to console, and here is the result: Code: Select allmila@expert:~$ apt-cache policy xfce4 xfce4: Installed: (none) Candidate: 4.6.0.1 Version table: 4.6.0.1 0 500 http://ftp.cz.debian.org unstable/main Packages 4.4.2.1 0 100 /var/lib/dpkg/status mila@expert:~$ su Password: expert:/home/mila# apt-get install xfce4 Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: xfce4: Depends: xfwm4 (>= 4.6.0) but 4.4.2-5 is to be installed Depends: xfconf (>= 4.6.0) but it is not installable Depends: xfce4-settings (>= 4.6.0) but it is not installable Depends: xfce4-panel (>= 4.6.0) but 4.4.2-6 is to be installed Depends: xfdesktop4 (>= 4.6.0) but it is not going to be installed Depends: thunar (>= 1.0.0) but it is not going to be installed Depends: thunar-volman (>= 0.3.80) but it is not going to be installed Depends: xfce4-utils (>= 4.6.0) but 4.4.2-8 is to be installed Depends: xfce4-session (>= 4.6.0) but 4.4.2-6 is to be installed E: Broken packages expert:/home/mila# apt-cache policy thunar thunar: Installed: (none) Candidate: 0.9.0-10 Version table: 0.9.0-10 0 500 http://ftp.cz.debian.org unstable/main Packages 100 /var/lib/dpkg/status expert:/home/mila# apt-get install thunar Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: thunar: Depends: libthunar-vfs-1-2 (>= 0.9.0) but it is not going to be installed Depends: thunar-data (= 0.9.0-10) but it is not going to be installed E: Broken packages expert:/home/mila# Please is there a way to fix now? Thanks
Did you apt-get update first?
Installed squeeze last night on my new computer and keep getting errors from debian multimedia when updating package lists Code: Select allReading package lists... Done W: Failed to fetch ftp://ftp.debian-multimedia.org/dists/testing/Release.gpg Could not resolve ‘ftp.debian-multimedia.org’ W: Failed to fetch ftp://ftp.debian-multimedia.org/dists/testing/main/i18n/Translation-en_GB.bz2 Could not resolve ‘ftp.debian-multimedia.org’ W: Some index files failed to download, they have been ignored, or old ones used instead. W: You may want to run apt-get update to correct these problems Tried all the different URL's on the webiste but none of them are working, anyone else having this problem or is it just me?
No problem here... what's the exact entry in your sources.list?
This is the first time I am using Lenny for website order. But I keep on having the following error message when I a click the "Buy" button for mail-order purchase. All cookies are enable. I am using iceweasel/gnome. "Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 0" I cross-checked using firefox and IE7 in Window XP, there are no problem. Previously, I was using ubuntu to make purchase from the same website, there is no problem too. So I guess some setting was not enable in Lenny/Iceweasel. Anyone can assist to solve this problem in Lenny/Iceweasel? Thanks.
Try changing your useragent string to say Firefox instead of Iceweasel. about:config general.useragent.extra.firefox
Sometimes when I try to reboot or poweroff my Lenny, it hangs there: Part ps ax output: Code: Select all 3011 ? Ss 0:00 /bin/sh /etc/init.d/rc 0 3019 ? S 0:00 /bin/sh /etc/rc0.d/K01splashy stop 3024 ? S 0:00 /sbin/splashy_chvt 8 strace info: Code: Select all# strace -p $(pidof splashy_chvt) Process 3024 attached - interrupt to quit ioctl(3, VIDIOC_S_COMP or VT_WAITACTIVE ^C <unfinished ...> Process 3024 detached If I killall splashy_chvt, or chvt 8, it will continue shutdowing and succesfully reboot or poweroff. My system has X Window, but without GDM, neither XDM. I simply use startx to invoke jwm and firefox. Here is information about splashy: Code: Select all# dpkg -l | grep splashy ii libsplashy1 0.3.13-3 Library to draw splash screen on boot, shutd ii splashy 0.3.13-3 A complete user-space boot splash system ii splashy-themes 0.4 A complete user-space boot splash system Kernel: Code: Select all# uname -a Linux 4c023dbe 2.6.26-1-686 #1 SMP Mon Dec 15 18:15:07 UTC 2008 i686 GNU/Linux Any clue?
More info about fd and its usage: Code: Select all 2771 ? Ss 0:00 /bin/sh /etc/init.d/rc 0 2780 ? S 0:00 /bin/sh /etc/rc0.d/K01splashy stop 2789 ? S 0:00 /sbin/splashy_chvt 8 7036 pts/0 R+ 0:00 ps ax # strace -p `pidof splashy_chvt` Process 2789 attached - interrupt to quit ioctl(3, VIDIOC_S_COMP or VT_WAITACTIVE^C <unfinished ...> Process 2789 detached # ls -l /proc/2789/fd total 0 lrwx------ 1 root root 64 Apr 1 10:37 0 -> /dev/null lrwx------ 1 root root 64 Apr 1 10:37 1 -> /dev/null lrwx------ 1 root root 64 Apr 1 10:37 2 -> /dev/console l-wx------ 1 root root 64 Apr 1 10:37 3 -> /dev/tty0 # lsof | grep tty0 splashy_c 2789 root 3w CHR 4,0 689 /dev/tty0
I have two hard drives, one given over to MS Windows, and the other with Debian Lenny on it, which I just re-installed yesterday after a botched attempt at upgrading to Squeeze (ack) Before, I had diskmanager configured so it'd mount my Windows hard drive on the startup. It worked fine. Now, I have the same thing, but it reports 'unknown filesystem type 'ntfs-3g' when I'm booting. But, I can use the # mount -t ntfs-3g /dev/sda1 /media/Windows to mount it from the terminal in GNOME, and it writes and reads just fine. I tried removing and reinstalling ntfs-3g, but it hasn't fixed the problem. I know it's a minor annoyance, but I'd like to figure this problem out. Can anyone give me a hand? Thanks. Solved! Thanks to bugsbunny for the help!
post fstab contents
I downloaded and installed it off adobe, and when I try to run it I get Code: Select all$ ./acroread /home/wearetheborg/inst/Adobe/Reader9/Reader/intellinux/bin/acroread: error while loading shared libraries: libxml2.so.2: cannot open shared object file: No such file or directory The puzzling thing is that libxml2.so.2 is there in /usr/lib This is for Lenny, amd64
In that guess I'd guess it's a 32 bit app and you need to install the 32 bit versions of the dependencies.
When reloading Synaptic I get this error: http://www.debian-multimedia.org/dists/ ... elease.gpg: Could not resolve 'www.debian-multimedia.org' http://www.debian-multimedia.org/dists/ ... -en_US.bz2: Could not resolve 'www.debian-multimedia.org' How do I correct this? Or is it a current server issue and will be fixed later?
Looks like a temporary server issue. I would be try again later.
Hello everybody, I use aptitude a lot, so I created some lines like: Code: Select allapi='sudo aptitude install' in my .bashrc, for install, update, search etc.. Though, when I was writing the whole thing, I had autocompletion (for example "sudo aptitude install amar" + Tab would give me 'sudo aptitude install amarok'). This is not the case if I use "api" instead. Is there any way to fix autocompletion for my shortcut? Thanks in advance..
Do you use /etc/bash_completion? You would probably have to get fancy with that file..
Hello All. Since I been using testing I decided to only use aptitude to install packages and though this isn't my first time using aptitude it is, however, the first time I have solely used it to install packages. That said I find the behavior of aptitude to be extremely well thought out, the gui that is. I love that it will show you new packages, as well as being able to visually show dependency issues. Yet I am perplexed by one thing, and that is that aptitude seems unwilling to upgrade the upgradable packages. Don't get me wrong, I think the reason why this is is because its a failsafe system so things wont break, but when does it decide to allow the one to upgrade those packages? If anyone can enlighten me about this, as well as point me to an extensive writeup on aptitude, for dummies, I would appreciate it . Barstow
Aptitude itself has extensive documentation, and it's available online. In this case, it would help if you could post the following things: What are you trying to update? What (error) messages are you getting from aptitude? What does your /etc/apt/sources.list look like?
Fresh Squeeze! on laptop. Whenever i do something like put in usb or yanking out the internet cable, dmesg displays a message in my tty. Even if I'm editing a file as a normal user. It's nice to be notified, but can I turn it on/off?
Add 'quiet' to your kernel arguments.
Hi, Half-Life 2 worked perfectly under an i386 build of Debian sid (using unstable and experimental wine pacakges), however when using amd64 the result is as follows: That is using -dxlevel 90 (-dxlevel 70 works). I've tried a few different things such as enabling fbo etc. however it has made no difference. I'm using the latest Nvidia Graphics Drivers (from non-free). Everything is pretty much identical to my i386 setup so I'm not sure what is wrong. IIRC Half-Life 2 worked fine on amd64 back in the days of Wine 0.9.x. Thanks.
Have you checked the terminal output?
Hello from a new member. I am replacing a SuSE linux server on the home network with a new box running Lenny. The installation went well, and I copied all the user files from the current server over NFS. I installed MySQL 5 using apt-get and created all the databases from the .SQL file created by backing-up the running databases on the current server. Everything looks good locally -- I can connect as root and also as a user with all permissions, but I can't connect to the new database from a Windows XP box using MySql Administrator or Query Browser. The error says "Could not connect to the specified instance, error 2003" and "Can't connect to MySql server on linux2 (10061)." Pinging the server from this error dialog works correctly. I've tried connecting on port 3306 as well as 5657. The my.cnf file specifies port 3306, but netstat -a | grep mysql says the daemon is listening on port 5657. I don't understand this. The database users and hosts are set up correctly (e.g., the host is either '%' or '192.168.1.0/255.255.255.0'). These were created when I ran the .SQL backup file, and are identical to the MySql server running on the current server, to which I can connect with no problem. I'm completely puzzled. Anyone have suggestions on how to resolve this? Thanks in advance. Mike
Well done so far. Edit /etc/mysql/my.cnf and make this correction: Code: Select all[mysqld] # # * Basic Settings # port = 3306 Restart the server and check with this: lsof -i -n -P |more ... you should see something like: mysqld 6129 mysql 10u IPv4 10475 0t0 TCP 127.0.0.1:3306 (LISTEN) ... and everything should connect. This command is so useful you might want to add it permanently. Edit /etc/profile and add: alias listen='lsof -i -n -P |more' BTW, it's very unsecure for mysql to be listening to outside ports. If outside users need to connect, I suggest you use reverse SSH tunnels. Basically the MySQL server would only listen on 127.0.0.1:3306 and you'd have the SSH server running. A remote machine would set up a reverse SSH tunnel, from the server to the remote machine, serving the server's 3306 port through to the remote machine on 127.0.0.1:3306. The remote machine when doing a MySQL access would reach into its own bellybutton, through the SSH tunnel, and do the accesses on the server, fully encrypted to military standards, and the MySQL server is not exposed to the outside! Use SSH public key login for passwordless access. You can extend any service to remote machines like this. To learn more search on "reverse SSH tunnels" and sleeper. I'd tell you here, but have no idea whether this is of any interest.
Hi all, I just got 2 new DELL SC1435's. I have installed lenny on both of them. The machines have the exact H/W conf. But on one of the machines I can only see 1GB of RAM being used where the DELL MEM CHECK shows that 4GB is installed on the machine. And the other lenny box seems to be seeing all 4GB of memory in place. Is there a way I check why this is happening? Thanks, as always for all the help.
Here is the /proc/meminfo, if it helps: Code: Select allserver:/proc# cat meminfo MemTotal: 906404 kB MemFree: 540672 kB Buffers: 17220 kB Cached: 194624 kB SwapCached: 0 kB Active: 255620 kB Inactive: 86448 kB SwapTotal: 6803516 kB SwapFree: 6803516 kB Dirty: 48 kB Writeback: 0 kB AnonPages: 130244 kB Mapped: 43380 kB Slab: 13004 kB SReclaimable: 7192 kB SUnreclaim: 5812 kB PageTables: 1392 kB NFS_Unstable: 0 kB Bounce: 0 kB CommitLimit: 7256716 kB Committed_AS: 312768 kB VmallocTotal: 122564 kB VmallocUsed: 5684 kB VmallocChunk: 116668 kB HugePages_Total: 0 HugePages_Free: 0 HugePages_Rsvd: 0 HugePages_Surp: 0 Hugepagesize: 4096 kB
When I insert an image in openoffice.org-writer I can't write on the right side of the image but only on the left side! What do I have to do in order to be able to write on the right side of the (tiny) image? Any help would be greatly appreciated! Thanks in advance!
Do you mean how text flows around the image? Right-click the image and Picture. In the Wrap tab you have a number of choices. I suggest Optimal, so when you move the picture around the text will avoid it.
Hi All, I read that it's possible to save a list of installed packages using the 'save markings' command in synaptic. I've tried to get it to work, but I just get an empty file. I've googled and found others complaining of the same problem. I realise there are other ways to do this using dpkg, but I'd like to know if synaptic really is broken in this regard. Anybody else seeing the same problem? Thanks..
I don't know about the issue you're having with synaptic, but here's how I generate I nice, clean listing of all installed packages ... as root, run the following from a shell: Code: Select all# dpkg --get-selections | expand | sed 's/install//g' | sed 's/ //g' > packages-list.txt Hope that fits your needs.
In Synaptic, if one sets it to consider package recommendations as dependencies and she removes some of them, are they re-installed when the package that recommended them is upgraded? I'm considering building a system without automatically installing package recommendations (as a learning exercise, many of them would be manually installed anyway.)
Yes, they probably do get returned as fresh auto-updates (for reinstallation) regardless, I should imagine unless they are intentionally blocked.
I formatted a 2 GB SD card using mkfs.msdos (options -c -F 32) and my system hung during the process. I couldn't maximize or minimize a window, nor select a different application. Since I was only running Iceweasel, Terminal and Rhythmbox, there seems to be a problem/misconfiguration. The system has a 1.8 GHz processor with 2 GB of RAM, 256 MB of which are used by the video card. It uses 180 MB of RAM upon start and never uses more than 750 MB. The system partition is 4 GB in size, 1.6 GB used. The swap partition is 2 GB in size (for hibernation.) It uses the deadline I/O scheduler and I've set vm.swappiness=0 in /etc/sysctl.conf Is this hang expected with these system specifications?
I have no problems using the mkfs.vfat command.
I upgraded my Pentium Celeron 2.4GHz computer with a debian 5.0 and also installed mythTV packages from the debian multimedia repository site. During the installation of mythTV packages, I was prompted and reminded to run mythtv-setup. Once the installation is done, I edited /etc/group to include my user account to mythtv group. Then, I executed mythtv-setup on one of the consoles. mythTV spit out a square box saying No UPnP backends found. I hit ENTER key to proceed to Database configuration 1/2 menu and just hit ENTER key to use default values. I also hit the ENTER key to use the default values for the Database configuration 2/2 menu. mythTV exited and relaunched. This time, it prompted to tell me Cannot login to database? in a square box. When I hit ENTER key, I was brought back to the Database configuration 1/2 menu again and the process repeats. At this point, I am just clueless and hope someone will be able to help. Thanks.
I can help you get this running, but I've got to dash right now. It's failing to log in because for some stupid reason the password that's in setup is wrong. It should be UN:mythtv PW:mythtv.
Hi, Is there an alternative to md5sum for caclulating sums for a burned CD/DVD? Something in the line of $ md5sum /dev/sr0 but another way? Without md5sum utility at all?
What's wrong with the md5sum utility?
Hi, I'm using TrueCrypt 6.1a. I'm using Debian 5 and the kernel is 2.6.26-1-686. I'm using NTFS-3G driver Version 1.2531. I see that the newest version of the NTFS-3G driver is Release 2009.2.1. I don't know if my problem is the result of using the older Version 1.2531. I'm writing because I have two TrueCrypt files formatted as NTFS. The first is a 20 MB file. The second is 150 GB file. In Windows XP I can mount both TrueCrypt files as read-write. My problem is that in Linux I can't mount both TrueCrypt files as read-write. I can mount the 20 MB file as read-write. But, I can't mount the 150 GB file read-write. I can only mount the 150 GB file read-only. Do you think the problem is the NTFS-3G driver is too old? If that's the case I'll need to figure out how to replace the old driver version with the newer driver version. I looked at http://www.ntfs-3g.org/quality.html and have also read the NTFS-3G Release History but I can't find the solution. Thank you.
I switched from Debian 5 to Ubuntu 8.10 and that fixed the problem. This also works with the 2009 edition of PCLinuxOS. Ubuntu 8.10 is using, ntfs-3g 1.2506 external FUSE 27 - Third Generation NTFS Driver. PCLinuxOS uses ntfs STABLE Version 2009.2.1 (February 12, 2009).
i screwed up a vbox-installation and would like to remove all software but keep the os. is that possible with a single or a few commands? the result should be like a basic installation without environment. Or is it more easy to reinstall? thanks for an answer, if i search for that on my own, i might also do a new installation)
You can use aptitude to remove apps that are not required. Aptitude classifies apps into groups like admin, X11, utilities, editors, etc. And further classifies installed and not-installed applications.
how do i change the keyboard-layout in a log-in shell? "setxkbmap de" doesn`t work here. thanks post-edit: thanks codge
dpkg-reconfigure console-data
The sources list (a boring three lines long file) refers (and referred) only to testing (not Squeeze) but the system identifies itself as Squeeze/Sid at the command prompt. I built the system with Aptitude but as soon as the desktop environment was installed I managed packages exclusively with Synaptic. I haven't changed APT configuration. Why would it identify itself as Sid if there's no trace of Sid in the sources list? Is this because of the security repository?
Because that's what's stored in /etc/debian-version - which is hard-coded in and gets updated with base-files. And they're not going to have a different package for testing and for unstable. Since many (most?) people that are running testing end up with at least some of sid in there I guess they feel that squeeze/sid is the best answer. Conversely if you're running pure sid you are indeed running the sid version of squeeze.
I'm trying to install hamlib 1.2.9cvs. ./configure seemed to go OK, but when I typed "make" (without the quotation marks), instead of the many screens of text rushing past I got something like "command not found." Autoconf and automake are installed (later versions than required by that cvs hamlib.) What am I missing? I've installed hamlib_1.2.9cvs before on Kubuntu-based systems.
Do you have the package "make" installed? You should make sure build-essential is installed--it will pull all of this stuff in for you.
Thanks to edbarx, I was able to get the drivers for my Nvidia 9800GTX to compile on Lenny, but I have another problem: The fan on my 9800GTX, I thought it was working but it isn't; the computer doesn't realize the fan's there, so my graphics card overheats and shuts off within a few minutes of using Debian. I tried installing nvcontrol 0.8b4, then adding "Coolbits" "1" to my xorg.conf and using Code: Select all# nvcontrol -F 100 to force the fanspeed to 100%, but it returns the error that my card isn't supported. When I type in the option to get the temperature of my card it reports it about three hundred and fifty (yikes?) degrees celcius below zero, even though it's really hot to the touch. That said, the temperature setting does seem to recognize the card is heating up. It started at -360 degrees C after a few minutes logged in, and was at -351 degrees C about two minutes later. What can I do? Is there any other way to force the 9800GTX's fan to run? I haven't got an onboard display adapter on my computer, and after spending the money on a 9800 it'd be a shame not to use it.
It's possible the card is broken and should be RMA'd.
Is it safe to remove and purge sudo?
Yes, I don't have it installed and my system is working. Somehow I have a feeling there's more to your question ...
My work has a windows XP Professional network with remote access enabled. While I can access my work desktop from home with windows XP or Vista, I would really like to be able to access my windows desktop from home with debian. It's one of the last things causing me to hold on to windows. So far, all of the google sites talk about logging into a linux machine from a windows machine, and usually they are talking about a LAN connection, not a web connection. Using XP, the access is through internet explorer. Using Vista, the access is through an application called Remote Access. It is not a Citrix based system. I have tried to access the site from debian and iceweasel. I get the opening login screen but it's locked up and won't take my login ID or password. Does anyone have any ideas? Perhaps there is a debian app that, when configured properly will connect. So far I haven't been successful using VPN type apps. One last thing: I have asked IT how to do it and they say "duh, what is linux?" Go figure.
don't know it can work http://technet.microsoft.com/en-us/inte ... 80242.aspx can't you install ultravnc server on windows and connect to it with some vnc viewer on debian?
Whenever I log into KDE the font is always set to 120 DPI which is huge, and every time I set it to 96DPI which is where I want it. How can I make this setting stick?
In Control center --> KDE Components --> Session manager Check that "Restore previous session" is selected. Tina
ok this is for web server and i'm switching from windows to linux however i have a big problem the file name for some reason on windows they are all CAP letters but when i move them to linux they all show as small letters this causes problem with web page. eg: the file name is like this CIMG0002.JPG but on linux they all show like this cimg0002.jpg this causes pictures not to show up on web page. so apart from having to rename them all (HUNDREDS!) what can i do to fix this?
If all you need to do is to change small letters into capital letters, then I think, a shell script can help you rename all your files as you wish. OR There is a CLI program rename, that can rename multiple files. To view a its help file, type the command: Code: Select allman rename To close the help file, type "q". To scroll use the pgUp, PgDown, the tab key and the arrow keys. Tip: Do some exercises with the command before using it to rename the actual files. Also, a backup is not a bad idea.
Hello everybody, I am trying to install thunderbird, but it doesn't seem to be there! Code: Select all jorge@flamingo:~$ sudo aptitude install mozilla-thunderbird [sudo] password for jorge: Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done Reading task descriptions... Done No candidate version found for mozilla-thunderbird No candidate version found for mozilla-thunderbird No packages will be installed, upgraded, or removed. 0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 0B of archives. After unpacking 0B will be used. Writing extended state information... Done Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done Reading task descriptions... Done jorge@flamingo:~$ sudo aptitude install thunderbird Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done Reading task descriptions... Done No candidate version found for thunderbird No candidate version found for thunderbird No packages will be installed, upgraded, or removed. 0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 0B of archives. After unpacking 0B will be used. Writing extended state information... Done Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done Reading task descriptions... Done Is that normal?!
Because of the same reason FF is called Iceweasel, TB is called Icedove Code: Select allaptitude install icedove
Hey guys, I'm still a newbie to Linux, and I've read some interesting stuff, saying " X Window has a wonderful design, it has separated display server and client, one display can show both local and remote X apps, and they all obey the direction of your local window manager, they can share clipboards, sorts of events(dunno if the word is suitable), for example, sometime there will be 4 xterm of 4 different machines showing on the screen, and they all obey the direction of the local FVWM". How could that be done? And here is another question: I'm using Ubuntu 8.10, the process list show me that gdm starts Xorg, and x-session-manager starts compiz. My knowledge so far tells me compiz is the window manager, so what does the gdm used for? And if Xorg is the server, which one is the client? I'm sorry for not RTMFing because I've no idea where to find the manual, if the questions are really RTMFic stuffs, point me where to find it pls. thx in advance
X11 allows you to have windows from different machines on the same desktop because it was designed from the beginning to be network transparent. A program requests a window and updates it without caring where the window's displayed. gdm is what's called a display manager, which allows you to have multiple users logged into X sessions simultaneously(otherwise the different X servers would trip over each other since X includes its own drivers). Finally, the apparent reversal of "server" and "client" can be confusing. In this case, X11 takes the view of the program - X provides the windowing service that other applications use(are client to). So any graphical application is a client.
How long with Debian Etch be supported in terms of security updates now that Debian Lenny is stable?
until 2010-02 I think
Do open source drivers exist for my nvidia graphics card to allow me to connect 2 monitors in twinview style? Must be stable on Lenny. I would prefer not to use anything in test, sid etc etc.
Install the nvidia driver: http://forums.debian.net/viewtopic.php?t=10812
Hey, nevermind the original question, I'm looking for a way to, in one command(no monitor available), update a messed up config file. I want to either add a line to the file, or extract and update a portion of it. I'm thinking of appending a line to the end of a file containing a redefinition of the messed up line. I'm wondering if having two lines specifying the same thing will cause ssh to not reload properly. I'm having a heck of a time logging into my debian etch server. I setup ssh to login with key based authentication which has been working fine for nearly a year. Recently I tried to login and the key didn't authenticate as usual, forcing me to enter a password. This worked alright for a week or so, but now the password is not letting me login. I ran a Nessus scan on it just for the heck of it and it found that my keys had been generated using a flawed random number generator, and were basically useless. I'm a little worried as to the security of my server. I'm 3 hours away from the machine and could manually reset the password(boot into single user mode...), but I remember it took a combination of steps last time i did it and would be really difficult to guide someone through the procedure who has no Linux experience. Bonus: I have a chrooted user(ala a make_chroot_jail script recommended by HowToForge) on the machine, would it be possible to somehow escalate its privileges, or enable su so i could change users? Any advice would be great, thanks in advance.
A good while ago there was an ssh bug and the update caused all keys to be regenerated. It ultimately caused a nice mess with all servers... But my point, if you haven't updated your server in a somewhat long time this is what may have happened. Oh, and if you haven't updated your server since then, shame on you
Ignore me! First heart attack time and date: 2008-09-13 4-5 CPR rescues + 1 Bypass operation later Maxtor lives for yet another day. 2009-02-17 5 months. ................................................................................................... Reference material: http://www.users.bigpond.net.au/hermanzone/p21.html https://help.ubuntu.com/community/DataRecovery http://ubuntu-rescue-remix.org/ I used Ubuntu Rescue Remix practically everytime the harddrive dies on me. ============= CAUTION ============= You should NOT write to the failed device, as it can worsen a hardware failure, and overwrite existant data in case of lost files. Shut down the affected machine as soon as possible, and restart it from a "Live" CD. Be certain that the "Live" CD does not automatically mount any partition or swap space. $ sudo swapoff -a ................................................................................... ==================== Lost Partition ==================== If you made a mistake while partitioning and the partition no longer appears in the partition table, so long as you have not written data in that space, all your data is still there. $ sudo testdisk *select* - [ Create ] *select* - [ Intel ] Adjust proper [ Geometry ] settings (255) first if there's any problems with the [ Analyse ] process. *select* - [ Analyse ] *select* - [ Write ] *select* - [ Quit ] *select* - [ Quit ] $ sudo photorec *improvise* $ shutdown -r now ................................................................................................... OLD STUFF: Last night I was running my Debian Etch 4.0 webserver like I have always done the past 4 weeks at my home. Then I went out to dinner and a bar and my sister at home called me late at night at 22:00 hours asking me what the password to Debian was because she was going to hog the Internet again with her torrents I didn't want to give out the password so I told her to just switch of the power to the webserver PC. Now the next morning when I wanted to login to my Debian I discover that my user account and everything in /home folder is gone. Where do I start to fix this I've lost 1 whole week of valuable work. Should I start to freak out and cry now or can I wait with that? My /var/log/syslog file: http://pastebin.com/m4b67cf4e
Is your /home on a different partition than your / partition? pastebin wrote:Code: Select allSep 13 07:58:43 lab kernel: JBD: IO error reading journal superblock Sep 13 07:58:43 lab kernel: EXT3-fs: error loading journal. It looks like your sister just flicked the switch on the server - is this what you wanted? No OS likes this sort of treatment (though maybe it wouldn't bother a live-cd so much). You should be able to fix it with fsck (run as root). You can direct it to the partition in question, but don't run it on a mounted partition. Mount will tell you what's mounted, umount will unmount. For example: Code: Select all# mount <snipped> ... dev/sdb3 on /home type ext3 (rw) ... <snipped> # umount /dev/sdb3 # fsck /dev/sdb3 I would guess that your /home partition has not been mounted, because it will have errors on it caused by the power failure (flicked switch). If this doesn't help, you need to supply a bit more information. Like your /etc/fstab file, and the output of dmesg.
I've already read their manuals and searched on the Internet about them but I couldn't find a definitive answer. localepurge's manual states it'll be executed every time APT installs a package, and, as far as I know, Synaptic uses APT (not apt-get or aptitude.) Do Synaptic and localpurge integrate? Hint: check the processes run in Synaptic's terminal box after installing a package and ensure localepurge is executed.
localepurge always runs for me when i install things using apt-get or synaptic.
I've seen the mandriva directory server and the fedora directory server, but no debian directory server? Am I looking in the wrong places?
I don't think there is one - I'm not even sure what it is.
Hi. I usually make archives of my files like this: Code: Select alltar -cjvf ~/Archive.tar.bz2 ~/FolderWithFiles/ I wonder if there is an option/ switch to adjust the compression level? In 7-Zip, user can specify the compression level, such as "store only", "fast", "normal" to "ultra". Today I found something in man tar: -[0-7][lmh] specify drive and density Is that what I am looking for? But what does drive mean? Thanks.
Both gzip and bzip2 have nine levels of compression. Higher numbers are better.
This is more a question/doubt than an issue. My GRUB configuration is right and my system is running fine. Yesterday, after an improper shut down, I couldn't access the GRUB menu. I thought the GRUB settings got corrupted and I reinstalled GRUB using its menu (grub>). Well, the problem is that the first time I set it up I put it in the system partition instead of the MBR. I re-installed GRUB to the MBR but the problem continued till I realized that the file systems (JFS) got corrupted. I ran a file check (fsck.jfs), repaired them and then installed GRUB to the MBR. How can I undo the first GRUB setup (to sda2 - hd0,1)?
Simply put, there's no reason to. You can overwrite the bootrecord with zeros, but that's about it.
If I install tcpflow on my gateway server, will it show me who on the network is visiting which websites?
It can, you'll need to write some scripts to make it into a nice format probably.
I log in at the command prompt and use the bash_profile to start X. I have a weird problem wherein once I log in, X starts and all I get is a black screen with and "X" as my mouse pointer and nothing else happens. I have to kill X and then issue a startx command again to actually get to a usable X. Here is my bash_profile Code: Select all# ~/.bash_profile: executed by bash(1) for login shells. # see /usr/share/doc/bash/examples/startup-files for examples. # the files are located in the bash-doc package. # the default umask is set in /etc/login.defs #umask 022 # include .bashrc if it exists if [ -f ~/.bashrc ]; then . ~/.bashrc fi # set PATH so it includes user's private bin if it exists if [ -d ~/bin ] ; then PATH=~/bin:"${PATH}" fi if [ -z "$DISPLAY" ]; then rm -rf ~/.serverauth* 2>/dev/null startx -- -br 2>/dev/null fi Obviously as a first, I removed the re-directs to /dev/null to see if it outputs anything which will indicate what's wrong. The output isCode: Select allxauth: error in locking file /home/inxsible/.Xauthority xauth: error in locking file /home/inxsible/.Xauthority xauth: error in locking file /home/inxsible/.Xauthority xauth: error in locking file /home/inxsible/.Xauthority I currently have 3 Xauthority files in my home folder. Is it safe to delete them so that new ones will be generated and how do I stop it from asking me the user to do something about it on every login? All I want is my X to start immediately after I enter my username and password. Thanks in advance
Bump
I am new to Linux and have inherited a Debian box that needs maintenance, and perhaps some TLC. I won't rebuild it until I have more experience. In the meantime, I have this error when I use apt-get: Code: Select all# apt-get --show-upgraded dist-upgrade Reading package lists... Done Building dependency tree... Done Calculating upgrade... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 4 not fully installed or removed. Need to get 0B of archives. After unpacking 0B of additional disk space will be used. Do you want to continue [Y/n]? Y Setting up tex-common (1.0.1) ... Error in /etc/texmf/texmf.cnf: TEXFONTMAPS incorrectly defined. Error in /etc/texmf/texmf.cnf: TEXMFDIST not defined. Error in /etc/texmf/texmf.cnf: TEXMF incorrectly defined. Error in /etc/texmf/texmf.cnf: TEXMF incorrectly defined. Error in /etc/texmf/texmf.cnf: TEXMF incorrectly defined. Unrecoverable errors in your configuration have been detected in configuration files in /etc/texmf/. If you've not seen debconf error messages, see your mail for details or use an interactive debconf frontend. Exiting dpkg: error processing tex-common (--configure): subprocess post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of tetex-base: tetex-base depends on tex-common (>= 0.12); however: Package tex-common is not configured yet. dpkg: error processing tetex-base (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of tetex-bin: tetex-bin depends on tetex-base (>= 3.0-4); however: Package tetex-base is not configured yet. tetex-bin depends on tex-common (>= 0.34); however: Package tex-common is not configured yet. dpkg: error processing tetex-bin (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of tetex-extra: tetex-extra depends on tetex-base (>= 3.0-11); however: Package tetex-base is not configured yet. tetex-extra depends on tetex-bin (>= 2.99); however: Package tetex-bin is not configured yet. dpkg: error processing tetex-extra (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: tex-common tetex-base tetex-bin tetex-extra E: Sub-process /usr/bin/dpkg returned an error code (1) You should know that after I select Y when prompted "Do you want to continue [Y/n]?", I get a dialog screen with these messages: Code: Select allConfiguring tex-common Essential entry wrong in /etc/texmf/texmf.cnf An essential entry is wrong in /etc/texmf/texmf.cnf: TEXFONTMAPS does not contain $TEXMF/{fonts/,}map//;$TEXMF/dvips//|.;$TEXMF{/fonts/map,}{/$progname,/pdftex,/dvips,}// TeX will not work without it, you need to fix your configuration files. The version of /etc/texmf/texmf.cnf that is provided by the package should be available as /etc/texmf/texmf.cnf.ucf-dist. Exiting.Followed by these additional missing entries: No setting of TEXTMFDIST TEXMFSYSCONFIG TEXMFSYSVAR TEXMFDIST I have been tackling all kinds of errors with success so far, but I have no idea what the correct search term should be to get the answer that I need. If you need a detailed history of how I supposedly repaired the last few problems, please let me know, and be as specific as possible. I am still learning basic commands from all the how-to's available. Using uname -a, I think I am running version 2.4.27. I also get the same issue if I type dpkg --configure -a Thank you for your help.
That is Sarge. You definitely should upgrade it, since it is no longer supported in any way. The cleanest upgrade would be a reinstall. To fix this problem, run apt-get -o DPkg::Options::="--force-confmiss" --reinstall install tex-common.
Hi. I've upgraded a Debian Lenny installation (which is actually a virtual environment under OpenVZ) and I can't seem to install apache2-mpm-itk, which was installed before the dist-upgrade. The error is: Code: Select allThe following packages have unmet dependencies: apache2-mpm-itk: Depends: apache2.2-common (= 2.2.9-10+lenny1) but 2.2.9-10+lenny2 is to be installed E: Broken packages What am I supposed to do? How can I solve that conflict? Thanks in advance.
I see 3 options here. 1) Add unstable to your repositories and then pull from there as needed (you can (and should) set testing as preferred in apt.conf. 2) download the source and compile yourself. 3) Wait for things to be straightened out. In the meantime I would definitely file a bug report on this, quickly, and rate it pretty high on the severity scale. It's an easy fix as long as they're aware the problem exists (they just need to recompile against the newer library).
On the boot screen i may choose: Debian GNU/LInux kernel 2.6.18-6-686 I tried to remove that kernel, but i was told it would still be needed by some libs. I removed the kernel-headers 2.6.18*. After that i can`t find the linux-image-2.6.18-6-686 anymore with apt-cache search or synaptic. Should i just delete the entry in menu.list? thanks jalu
Have you tried update-grub yet?
I've done some searching and can't seem to figure out the release schedule structure of debian. How does it work and when will Lenny be released as stable?
information can be found in a similar thread
Hi, Never before have I seen anything similar. I've copied over my private keys to a pendrive, carrying an ext3 filesystem. The block device itself is encrypted with LUKS. After remounting it, the keys directory is gone! Instead, Linux sees it as a normal file. When I cat it, it gives me the contents of the first file it contained (don't know in what order). df -i shows the correct number of used and free blocks. Also, when calling ls -R, it tries to list contents of keys/ dir, but fails. How to persuade Linux that what it thinks of a file is really a directory? EDIT: fsck.ext3 with -f option seemed to do a good job, although it tends to ask a lot of questions. It's actually the first time I've used lost+found directory I'll make a backup of all valuable data and check the pendrive for faulty blocks. Phew...
thank you for sharing what you have learned.
Hello! I just installed Virtualbox 2.1 on Debian 4.0 Etch. All went well until i start windows server 2003 in the VM and log in, there is no connection to the Internet... Windows is using a static IP address and everything is up like it should, I even try "Repairing" the connection inside Windows and it said "all is well, contact network admin if u have issues" so Im guessing the problem is not within windows (was working with older version of virtualbox). My Network settings in Virtualbox are Host Interface using eth0. I even tried changing to NAT but it dosnt help... Im not sure what to do ? Anyone have a suggestion??
post the output of: In the host (debian) #ifconfig #route On the windows box, from a command prompt: ipconfig /all (I'm pretty sure that's the command, going from memory).
Please, when I am log in as a user, what is the easiest way to edit my sources list? Thanks
Only the packages that needs upgrading will be upgraded...
Please what's the best option to mount, or see NTFS File System drive from my another windows os disk here in Debian? Thanks
demon wrote:Please what's the best option to mount, or see NTFS File System drive from my another windows os disk here in Debian? Thanks ntfs-3g I'm not sure if it's in Etch or Backports, but http://www.ntfs-3g.org
So honestly I did search before I posted this junk (well searched google that is...) been messing with this for 3 days and getting irritated but I'm like the frog choking the bird "Never give up" I know I could just re-install and fix this but I'm not into a "simple solution" So here's the background, older toshiba laptop, 1.1ghz celeron, 380ish MB ram, 15" screen, triple boot (WinXP, PCLinuxOS(KDE), Debian(xfce)) I've used freeBSD years ago, just got back into Linux about 2 weeks ago. I've been in computers/IT for about 16 years so I'm not a total noob. However, I can't get my fricken root password to reset! Here's a SHORT rundown. I'm not going to outline the root reset procedures (they're on google all over the place) but I'll post enough for you to understand (I hope). Booted to PCLOS, edited shadow, 2nd field to blank, can't login as root Grub, init=/bin/bash, mount, run passwd, says it worked, no root login PCLOS, mount debian, chroot, passwd, says it worked, no root login Grub, init, mount, run, says worked, file shows a change, still can't login as root last idea (trying it tonight) single user mode, login, run passwd, see if the file changes. So.... yeah... there it is, I'm out of ideas, anyone got something? UPDATE/SOLUTION: I wasn't paying attention but 2 things were happening, 1 root login was in fact disabled, 2 I wasn't running sync... When I booted grub and added the initd=/bin/bash and reset the password it didn't work the first time, I had to go into the shadow- file and reset that one as well as the shadow file. So it's all working now, they key: sync if you use the grub command line....
This may help: http://aplawrence.com/Linux/lostlinuxpassword.html
Hello everybody, I have debian Lenny on my laptop. I have configured aptitude not to install recommended dependencies by default. Though, when I did Code: Select allsudo aptitude kde A huge amount of bloatware came with kde. From Games to "edutainment" crap, several media players, development tools and other stuff that I will never use. So I try to remove some of them. For example, games: Code: Select alljorge@flamingo:~$ sudo aptitude remove kdegames Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done Reading task descriptions... Done The following packages are BROKEN: kde The following packages will be REMOVED: kdegames 0 packages upgraded, 0 newly installed, 1 to remove and 59 not upgraded. Need to get 0B of archives. After unpacking 53.2kB will be freed. The following packages have unmet dependencies: kde: Depends: kdegames (>= 4:3.5.5) but it is not installable The following actions will resolve these dependencies: Remove the following packages: kde Score is 119 Accept this solution? [Y/n/q/?] "kde: Depends: kdegames (>= 4:3.5.5)" Eh?!?!?! So what gives? Will kde be uninstalled if I remove those games?! How can I remove the packages I don't want, without affecting kde? And by the way, is there a way to install a more modular version of kde? Like a kde-base thing or something? Thanks in advance..
You gave the answer already in your question. KDE is just a bloated metapackage So just do(I'll use Sudo cause you seem to use it) Code: Select allsudo aptitude purge && sudo aptitude install kdebase After just just install the KDE-apps that you want. All this is caused because aptitude remembers dependencies and it will remove if the dependencies when the installed app is removed.
i don`t know if this is the right place to ask: i got two installations: one on the hard disk and one on an external disk. When i boot into the external-disk-installation, i get the following error message: Activating Swap: unable to find swap space signature failed this is the output of fdisk -l: Code: Select allDisk /dev/sda: 160.0 GB, 160041885696 bytes 255 heads, 63 sectors/track, 19457 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0xec31ec31 Device Boot Start End Blocks Id System /dev/sda1 * 1 34 273073+ 83 Linux /dev/sda2 35 19457 156015247+ 5 Extended /dev/sda5 35 642 4883728+ 83 Linux /dev/sda6 643 1007 2931831 83 Linux /dev/sda7 1008 1337 2650693+ 82 Linux swap / Solaris /dev/sda8 1338 1386 393561 83 Linux /dev/sda9 1387 19457 145155276 83 Linux Disk /dev/sdb: 80.0 GB, 80026361856 bytes 255 heads, 63 sectors/track, 9729 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x0000f2f8 Device Boot Start End Blocks Id System /dev/sdb1 1 4864 39070048+ 83 Linux /dev/sdb2 4865 5837 7815622+ 83 Linux /dev/sdb3 5838 9729 31262490 83 Linux the installation which can`t activate swap is on /dev/sdb2 and /dev/sdb3. I ain`t got no problems, but i`m wondering what the problem. thanks for any idea jalu
Post the output of this: Code: Select allcat /etc/fstab Note: the corresponding entry in fstab must agree with fdisk -l
Experts, During my boot I can see in screen something like some ports are enabled ...and some information, which I guess was not there before. Can I have a look later on, when I am on desktop, in some directory, what actually was it? And if I'll find some ports open what is the actually setup for firewall? I am using arno-iptables-firewall Thanks for help
If you want some information, and if the information is saved in a place, it will probably be in the directory Code: Select all/var/log/ Take a look there, and check if you can find some useful information. And if you want to see the port that are open on your system, let's simply type : Code: Select allnetstat -n
I got this message in Gnome terminal: Message from syslogd@expert at Sun Dec 9 22:13:03 2007 ... expert kernel: CPU1: Temperature above threshold Message from syslogd@expert at Sun Dec 9 22:13:03 2007 ... expert kernel: CPU0: Temperature above threshold Message from syslogd@expert at Sun Dec 9 22:13:03 2007 ... expert kernel: CPU0: Running in modulated clock mode Message from syslogd@expert at Sun Dec 9 22:13:03 2007 ... expert kernel: CPU1: Running in modulated clock mode What does it mean please? Thanks
that sounds bad.
Hopefully this is a simple question: Can some one tell me what to put in sources.list to get the latest versions of gimp (2.6.x) and OOo (3.x)? I have never been able to successfully install gimp from its own site; for that reason, I haven't tried OOo. Thank You.
OO.org 3 and Gimp 2.6 are in experimental: Code: Select alldeb http://ftp.cz.debian.org/debian/ experimental main contrib non-free When you want a package from experimental, you have to say it explicitly: Code: Select allaptitude install -t experimental openoffice.org And it's good idea to add this to your /etc/apt/preferences Code: Select allPackage: * Pin: release a=experimental Pin-Priority: 101 for apt to upgrade the packages. This will let apt know, that you want to upgrade the packages you installed from experimental. Otherwise, apt never installs packages from experimental on its own. However this upgrades only the packages you explicitly installed from experimental, no fear that it will upgrade the whole distribution to experimental on next dist-upgrade...
I am running bash on etch but have not fiddled with .bashrc for some time. This morning I discovered that all my commands have an extra line appended e.g. $date Thu Jan 1 08:01:24 EST 2009 echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007" Any idea where second line of output came from and how I can eliminate it? Regards.
First, I would simply shut the terminal and try another one. You may have had a stray command (?!) go astray. If that doesn't do it, log out and log back in. If the problem continues, check in your .bashrc first, then check .bash_profile.
sorry i have to ask, how may i set a thread as solved? (and: if the problem has gone without any concious acting, should it be called solved? i`d say yes, but i`m not sure?) thanks and sorry once again.
1) Just edit your subject line. 2) That's happened to me before. Mark it solved since the problem's gone away.
When I use VirtualBox as a regular user instead of as root, I have to change permissions on /proc/bus/usb to allow my user read/write access. Obviously, this has to be redone at each reboot. Is there a way to make this permanent? Maybe by changing permissions.rules? Thanks.
Use the non-ose version .
Dear all I am running debian testing on a pentium 4 2.4Ghz machine with an nvidia geforce4 440 mmx card without any printer or any sort of cutting edge hardware. I installed testing via a netinstall cd selecting my own apps for each task.Then i decided mostly from curiosity to speed up the boot process and all is fine.So far i have replaced bash with dash, configured and installed preload and prelink, re-ordered init scripts with insserv and enabled the concurrency=shell option for the boot process. Then i got rid some unwanted libraries with orphaner and tried to disable some unwanted start-up services with rcconf such as cups portmap samba and nfs. However the list of processes appearing in rcconf is massive and there has to be something more i can disable. Prior to rcconf i am running update-rcconf-guide to get a description of each service but still dont know what to disable. The only desktop i am using is kde 3.5.10 there is no printer, i have an adsl internet connection and i am using ntfs-3g for my windows partition to give u an idea of what i need to start-up , here is the list of the services appearing in rcconf acpid avahi-daemon bootlogd bootmisc.sh checkfs.sh checkroot.sh console-screen.sh cron dbus fancontrol fuse glibc.sh hal halt hostname.sh ifupdown ifupdown-clean kdm keymap.sh keymap.sh~ killprocs klogd lmsensors module-init-tools mountall-bootclean.sh mountall.sh mountdevusbfs.sh mountkernfs.sh mountoverflowtmp mtab.sh networking preload procps rc.local reboot rmnologin sendsigs single stop-bootlogd stop-bootlogd-single swapspace syskogd udev udev-mtab umount-fs umountnfs.sh umountroot urandom usplash x11-common if u could give me a clue about which services to disable will be appreciated, apologies for the dumb question and the enormous post
A slightly better tool than "rcconf" is "sysv-rc-conf". It does not just show you the name of the service but in what at what runlevel it's invoked. Then you'll see that a lot of them are are only 'active' during startup/ shutdown... By the way: It's also a nice tool for customizing the various runlevels should you so desire.
Now that I have password protected the bios, changed the bios settings so the PC will not boot from anything except the master hdd, padlocked the case so the bios cannot be reset by changing the jumper, changed the bios settings to alert me if the case has been tampered with, and installed debian on an encrypted file system. How do I setup a multi user machine where each users files, folders, program settings, and temporary files are protected, hidden, and locked from the other users?
Just how protected, hidden, and locked do you want it? #chmod -R 0711 /home should be pretty effective.
Right now I just have: deb http://ftp.uk.debian.org/debian/ etch main deb http://security.debian.org/ etch/updates main in my sourceslist. Apparently debian has a few others non-free contrib What are these for and will they affect the stability of my system?
Non-free is for software from which there's no source available (i.e. Flash, Java etc.). As far as I know contrib is for standard free software which relates to non-free in some way or depends on it. I suppose most of people here use all of those without any stability issues, so you can as well. Going without non-free is worthwhile if you're running a server or don't need flash etc. at all. On desktop, however, you'll probably want it all. One more thing: I recommend you to go with lenny if you're a normal user (no server etc.)...
Hi. Been a while since last but I hope people still are as helping as before. The thing is that I try to install a newer version of IceWeasel on Etch, So I tried the chapter named "Keeping a mixed system" in the apt howto. but it does not seems like my "apt.conf" is working. Anybody got expirience with this? And want to set up some (small) exsamples of the apt.conf and sources.list?
http://forums.debian.net/viewtopic.php?t=15612
I've tried su -c pcmanfm entered in the password but it will not start as SU???
Telemachus wrote:Let's back up a step: why do you want to run your file manager as root? Sounds like a bad idea to me, but maybe it's a lack of imagination on my part. A bad idea? Is it any different that getting root in a shell? You are equally capable of destroying your system either way. You'll have to convince me why it's a bad idea. Running a web browser as root - yeah that's a bad idea, logging in to X as root, another bad idea but a simple file manager? What about mc? Ever run mc as root?
Noobi here. How do I do a barebone minimal installation of debian, from which I can add packages to build custom slimline system which only has the packages I want and need? Any help/advice will be appreciated.
mashcaster wrote:First impressions count right? Based on the sarcasm/snottiness of the reply I got, I hope that the first impression I have been given of this community is not true. Oh it's true all right... we are a bunch of selfish idiots that does not recognise the fact that the search function is just to make the forum look pretty Anyway: Pick an install medium, run it, don't select anything it offers (desktop, server etc etc) and hey presto! A minimal system
I've tried Ubuntu -- don't like it -- I've tried MS Windows don't like it; I keep coming back to Debian -- I like it -- but I ask a simple question like, " How do you change the password in Lenny" in the forum I get everything but an anwser to my question. "Whate's your desktop look like?," "Why do you like Debian?," Could someone simply tell me how to change my login password. I've tried "dpkg-reconfigure password" and that doesn't work nor does several permutations of that strategy. Please, How do I change my password, it can't be that difficult, I's just ignorant of the process.
From a CLI type passwd
Hello!, i recently installed again my debian lenny, but now i saw that i cannot open the Software resources window from system/administration panel in gnome bar! there is missing? i need to install something? When i try to run software-properties-gtk -m from command line and i got this.... Code: Select all/usr/lib/python2.5/site-packages/apt/__init__.py:18: FutureWarning: apt API not stable yet warnings.warn("apt API not stable yet", FutureWarning) Traceback (most recent call last): File "/usr/bin/software-properties-gtk", line 100, in <module> app = SoftwarePropertiesGtk(datadir=data_dir, options=options, file=file) File "/var/lib/python-support/python2.5/softwareproperties/gtk/SoftwarePropertiesGtk.py", line 75, in __init__ SoftwareProperties.__init__(self, options=options, datadir=datadir) File "/var/lib/python-support/python2.5/softwareproperties/SoftwareProperties.py", line 55, in __init__ self.reload_sourceslist() File "/var/lib/python-support/python2.5/softwareproperties/SoftwareProperties.py", line 450, in reload_sourceslist self.distro.get_sources(self.sourceslist) File "/usr/lib/python2.5/site-packages/aptsources/distro.py", line 85, in get_sources "Error: could not find a distribution template") aptsources.distro.NoDistroTemplateException My lsb_release information is Distributor ID: Debian Description: Debian GNU/Linux testing/unstable Release: testing/unstable Codename: n/a Thanks in advance..!
you might also post your /etc/apt/sources.lst file although it looks like it may be something else
I have been getting this error for a few days now: W: Failed to fetch http://ftp.us.debian.org/debian/dists/l ... ckages.bz2 Hash Sum mismatch W: Failed to fetch http://ftp.us.debian.org/debian/dists/l ... ources.bz2 Hash Sum mismatch Here is my source list: # Main, Contrib, Non-free # deb http://ftp.us.debian.org/debian/ lenny main contrib non-free deb-src http://ftp.us.debian.org/debian/ lenny main contrib non-free # Security # deb http://security.debian.org/ lenny/updates main contrib non-free deb-src http://security.debian.org/ lenny/updates main contrib non-free # Debian-multimedia # deb http://www.debian-multimedia.org lenny main deb-src http://www.debian-multimedia.org lenny main # Backports # # deb http://www.backports.org/debian lenny-backports main contrib non-free # Debian Volatile # # deb http://volatile.debian.org/debian-volatile lenny/volatile main contrib non-free # Debian Unofficial # # deb http://ftp.debian-unofficial.org/debian lenny main contrib non-free restricted # deb-src http://ftp.debian-unofficial.org/debian lenny main contrib non-free restricted I never had this problem before, and would like to know what would be the cause. I assume it has something to do with the actions, or lack thereof, of the maintainers of that particular repository, either that or my system has been compromised (which i highly doubt) or even worse the repository has been compromised (which is probably even more unlikely).
Your sources.list file seems alright to me, so you may want to try a different mirror to find out if your mirror is the problem.
I know that it's probably very simple but I havn't figured it out! Just trying to mark some solved problems. Thanks.
Normally, people just edit the title of the original message and add "[SOLVED]".
Anyone know where i can find a decent tutorial on setting up Certificate Authority server on etch or lenny? I've searched the forum without any luck
This should help: http://www.debian-administration.org/articles/618
I have: debian Etch, an intel pentium IV, 512k ram, the default Iceweasel, 1Gb swap partition, Linksys AG300 router/modem, ISP download speed 512k/128k. If I am downloading by http/ftp, internet browsing slows down to a virtual stop. It is so slow that it isn't really worth staying online at all. It would slow down in Windows, but not as much as with debian (it was still able to be used). My understanding of broadband is limited (ie non-existent). Is this likely to be due to running linux or debian, using iceweasel, something to do with the router settings, not enough ram, or is it because this computer is too old or hasn't a good enough CPU? Would it be alleviated if I went to a higher speed connection? That is, can I fix it and, if so, how? Thanks if anyone can clue me in.
It sounds like "http/ftp" just has a higher priority then Iceweasel. You can check Iceweasel to see if you can raise it's priority , or you could lower "http/ftp" priority , or install a program to limit / cap bandwidth for a particular protocol. I'm not able to give you any help on "How" to accomplish this. here is one google link that might help as a last resort: http://www.linux.com/feature/61293 Increasing your internet speed might not help all that much , "http/ftp" will speed up a lot , Iceweasel a little because of their respective priority. OTOH , Faster internet / CPU / etc will always help , it sounds like a good excuse to upgrade to that Dual Quad Core you've been wanting
I'm running a debian eeepc. Boot time takes about 60 seconds on the netbook. I want to make it boot faster. I think Bootchart will help diagnose. I've installed bootchart. I ran update-grub. Now what do i do? I'm running debian lenny. Thanks. My current menu.lst is below: # menu.lst - See: grub(8), info grub, update-grub(8) # grub-install(8), grub-floppy(8), # grub-md5-crypt, /usr/share/doc/grub # and /usr/share/doc/grub-legacy-doc/. ## default num # Set the default entry to the entry number NUM. Numbering starts from 0, and # the entry number 0 is the default if the command is not used. # # You can specify 'saved' instead of a number. In this case, the default entry # is the entry saved with the command 'savedefault'. # WARNING: If you are using dmraid do not change this entry to 'saved' or your # array will desync and will not let you boot your system. default 0 ## timeout sec # Set a timeout, in SEC seconds, before automatically booting the default entry # (normally the first entry defined). timeout 5 # Pretty colours color cyan/blue white/blue ## password ['--md5'] passwd # If used in the first section of a menu file, disable all interactive editing # control (menu entry editor and command-line) and entries protected by the # command 'lock' # e.g. password topsecret # password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/ # password topsecret # # examples # # title Windows 95/98/NT/2000 # root (hd0,0) # makeactive # chainloader +1 # # title Linux # root (hd0,1) # kernel /vmlinuz root=/dev/hda2 ro # # # Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST ### BEGIN AUTOMAGIC KERNELS LIST ## lines between the AUTOMAGIC KERNELS LIST markers will be modified ## by the debian update-grub script except for the default options below ## DO NOT UNCOMMENT THEM, Just edit them to your needs ## ## Start Default Options ## ## default kernel options ## default kernel options for automagic boot options ## If you want special options for specific kernels use kopt_x_y_z ## where x.y.z is kernel version. Minor versions can be omitted. ## e.g. kopt=root=/dev/hda1 ro ## kopt_2_6_8=root=/dev/hdc1 ro ## kopt_2_6_8_2_686=root=/dev/hdc2 ro # kopt=root=/dev/sda1 ro ## default grub root device ## e.g. groot=(hd0,0) # groot=(hd0,0) ## should update-grub create alternative automagic boot options ## e.g. alternative=true ## alternative=false # alternative=true ## should update-grub lock alternative automagic boot options ## e.g. lockalternative=true ## lockalternative=false # lockalternative=false ## additional options to use with the default boot option, but not with the ## alternatives ## e.g. defoptions=vga=791 resume=/dev/hda5 # defoptions=quiet ## should update-grub lock old automagic boot options ## e.g. lockold=false ## lockold=true # lockold=false ## Xen hypervisor options to use with the default Xen boot option # xenhopt= ## Xen Linux kernel options to use with the default Xen boot option # xenkopt=console=tty0 ## altoption boot targets option ## multiple altoptions lines are allowed ## e.g. altoptions=(extra menu suffix) extra boot options ## altoptions=(single-user) single # altoptions=(single-user mode) single ## controls how many kernels should be put into the menu.lst ## only counts the first occurence of a kernel, not the ## alternative kernel options ## e.g. howmany=all ## howmany=7 # howmany=all ## should update-grub create memtest86 boot option ## e.g. memtest86=true ## memtest86=false # memtest86=true ## should update-grub adjust the value of the default booted system ## can be true or false # updatedefaultentry=false ## should update-grub add savedefault to the default options ## can be true or false # savedefault=false ## ## End Default Options ## title Debian GNU/Linux, kernel 2.6.26-1-686 root (hd0,0) kernel /boot/vmlinuz-2.6.26-1-686 root=/dev/sda1 ro quiet initrd /boot/initrd.img-2.6.26-1-686 title Debian GNU/Linux, kernel 2.6.26-1-686 (single-user mode) root (hd0,0) kernel /boot/vmlinuz-2.6.26-1-686 root=/dev/sda1 ro single initrd /boot/initrd.img-2.6.26-1-686 ### END DEBIAN AUTOMAGIC KERNELS LIST
Read this: http://bootchart.svn.sourceforge.net/vi ... art/README
Hi, I had installed debian almost a month ago. I have windows xp too on this machine and I had not booted into windows after installing debian. Today I had some work in windows and when I tried booting into windows it gave me an error: Code: Select allBooting 'Microsoft Windows XP Professional' error: Unknown device Press any key to continue After this when I hit enter tried booting into linux I got the following: Code: Select allBooting 'Debian GNU/Linux, linux 2.6.26-1-686' error: You need to load the kernel first Press any key to continue So I restarted the computer and tried booting into linux and it booted up just fine. After that I tried 3 to 4 times to boot into windows and got the same error as above. I remember installing grub2 while installing debian and I also remember debian telling me that its experimental or something of that sort. Here is my /boot/grub/grub.cfg Code: Select allvirix:# cat /boot/grub/grub.cfg # # DO NOT EDIT THIS FILE # # It is automatically generated by /usr/sbin/update-grub using templates # from /etc/grub.d and settings from /etc/default/grub # ### BEGIN /etc/grub.d/00_header ### set default=0 set timeout=5 set root=(hd0,2) search --fs-uuid --set e2517d52-8683-4f88-81a3-6c95621f3837 if font /usr/share/grub/ascii.pff ; then set gfxmode=640x480 insmod gfxterm insmod vbe terminal gfxterm fi ### END /etc/grub.d/00_header ### ### BEGIN /etc/grub.d/05_debian_theme ### set menu_color_normal=cyan/blue set menu_color_highlight=white/blue ### END /etc/grub.d/05_debian_theme ### ### BEGIN /etc/grub.d/10_hurd ### ### END /etc/grub.d/10_hurd ### ### BEGIN /etc/grub.d/10_linux ### set root=(hd0,2) search --fs-uuid --set e2517d52-8683-4f88-81a3-6c95621f3837 menuentry "Debian GNU/Linux, linux 2.6.26-1-686" { linux /boot/vmlinuz-2.6.26-1-686 root=UUID=e2517d52-8683-4f88-81a3-6c95621f3837 ro initrd /boot/initrd.img-2.6.26-1-686 } menuentry "Debian GNU/Linux, linux 2.6.26-1-686 (single-user mode)" { linux /boot/vmlinuz-2.6.26-1-686 root=UUID=e2517d52-8683-4f88-81a3-6c95621f3837 ro single initrd /boot/initrd.img-2.6.26-1-686 } menuentry "Debian GNU/Linux, linux 2.6.24-1-686" { linux /boot/vmlinuz-2.6.24-1-686 root=UUID=e2517d52-8683-4f88-81a3-6c95621f3837 ro initrd /boot/initrd.img-2.6.24-1-686 } menuentry "Debian GNU/Linux, linux 2.6.24-1-686 (single-user mode)" { linux /boot/vmlinuz-2.6.24-1-686 root=UUID=e2517d52-8683-4f88-81a3-6c95621f3837 ro single initrd /boot/initrd.img-2.6.24-1-686 } ### END /etc/grub.d/10_linux ### ### BEGIN /etc/grub.d/30_os-prober ### ### END /etc/grub.d/30_os-prober ### ### BEGIN /etc/grub.d/30_otheros ### # This entry automatically added by the Debian installer for a non-linux OS # on /dev/hda1 menuentry "Microsoft Windows XP Professional" { set root=(hd0,0) chainloader +1 } ### END /etc/grub.d/30_otheros ### ### BEGIN /etc/grub.d/40_custom ### # This file is an example on how to add custom entries ### END /etc/grub.d/40_custom ### Is there something that I need to change? Or can I just install grub legacy? Thanks. EDIT If I plan to install grub legacy how do I go around configuring it?[/b]
Grub installs to the MBR and sometimes the Windows initial boot sector becomes damaged. There is a program called TestDisk which can fix this if that is indeed the cause of the error. It rebuilds the boot sector if the current boot sector is not identical to the backup of the boot sector. http://www.cgsecurity.org/wiki/TestDisk ... r_recovery NTFS Boot Sector Recovery is towards the bottom of the page and there is a screenshot of the rebuild boot sector option. First install testdisk then su testdisk , After starting testdisk with the above command, choose "no log", select HDD and "proceed", "Intel", "Analyze", and see what it shows for your HDD and what errors it might give. I think that your error is not likely a grub error, it looks ok to me.
Hello, I would like to use different name servers (DNS servers) on my debian computer (eeepc running debian). I have made a one-time change to the dns servers of OpenDNS but after I reboot, the change is gone. How can I make the change permanent?
edit /etc/resolv.conf You'll probably already have at least 1 nameserver line in there. For OpenDNS you'll want: Code: Select allnameserver 208.67.222.222 nameserver 208.67.220.220
Hi there. I have been trying to get my infrared remote to work under Mplayer. I have had little luck so far. I followed the install instructions of lirc from here. Everything seems to go well, since testing it with 'irw' seem to work. My problems start from here though. I now want to control Mplayer with my remote, which means creating a '~/.lircrc' file. But I got my Mplayer package from a debian-multimedia UK mirror (since I'm based in the UK), and I've read this package doesn't have lirc support compiled in. Does anyone know of any Mplayer packages with lirc support that I can download from aptitude? Building it from source is a huge struggle. Sources.list Code: Select alldeb http://ftp.uk.debian.org/debian/ etch main contrib non-free deb-src http://ftp.uk.debian.org/debian/ etch main contrib deb http://security.debian.org/ etch/updates main contrib deb-src http://security.debian.org/ etch/updates main contrib deb http://debian-multimedia.fx-services.com/ stable main Also, once I have tested my remote is working with 'irw', I take it I don't have to do anymore tinkering? Thanks.
lenny mplayer from multimedia repo has lirc support
Dear debians, This is my first post here. I'm new to pure debian (since I've used Ubuntu for some time. Although I'm a very basic user). The problem: I cant mount a FAT partition shared in my dual boot with the windows partition. When I try to do it this message apears: libhal-storage.c 1401 : info: called libhal_free_dbus_error but dbuserror was not set. process 5378: applications must not close shared connections - see dbus_connection_close() docs. this is a bug in the application. error: device /dev/sda6 is not removable error: could not execute pmount and when I - sudo gedit /etc/fstab # /etc/fstab: static file system information. # # <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc defaults 0 0 /dev/sda7 / ext3 defaults,errors=remount-ro 0 1 /dev/sda5 none swap sw 0 0 /dev/hda /media/cdrom0 udf,iso9660 user,noauto 0 0 /dev/hdb /media/cdrom1 udf,iso9660 user,noauto 0 0 /dev/fd0 /media/floppy0 auto rw,user,noauto 0 0 /dev/sdb1 /media/usb0 auto rw,user,noauto 0 0 The windows partition sda1 and the FAt partition sda6 don't even appear. Can somebody help me? Thanks for your attention.
If you don't configure the partition's mountpoint during the installation, it's left out of fstab. As for the first problem, pmount is used as the backend for mounting via GNOME or KDE and refuses to work on fixed disks without special configuration. Either add the partition in question to /etc/pmount.allow or add an fstab entry(note that the file system type is VFAT - MSDOS is FAT16 with 8.3 filenames).
Hello When I launch Iceweasel, some of the plugins are not loaded. These plugins are located in /usr/lib/mozilla/plugins. When I switch as root user, All the plugins are loaded. When I try to move a plugin in /usr/lib/iceweasel/plugins, it is loaded. Can you help me ? Vincent.
plugins in /usr/lib/iceweasel/plugins are mostly soft links to the files in /usr/lib/mozilla/plugins, so you can always try creating the links. See man ln for the fine detail on how to create soft links.
How to start Icedove and open a blank letter when clicking on a mailto-link in iceweasel ? I use Debian 4.0 and KDE. How to fix it ?
Ok, no solution yet ... Where is the about:config file located, so I can go in manually and edit the file instead of doing it in iceweasel ?
Where can I find the startup messages? I am receiving an error in red during the booting process. I cannot read it because the page scrolls up too fast. I had a look at /var/log without success. I also did a google search in vain. Thanks in advance.
$ dmesg | less
Hi, I'm running the latest Lenny/testing, using Iceweasel for a browser and KMail for the mail client. When I click on a link in an opened email message, KMail gives me the error, "Could not find the program 'Iceweasel'" Evidently, KMail knows which browser to open the link in, but doesn't know the path? How can I fix this? As far as I can tell, it has been this way since my installation about 2 months ago. Thanks!
'iceweasel' needs to be all lowercase. POSIX-compliant systems are case-sensitive.
I have a bad habit of doing things that cause my system (lenny 2.26) to either crash or be buggy, so I've wisened up and started backing up my system via tar before I do questionable things. Once again, I've done something questionable and need to pull from the last backup I made. My intent is to have my system in the exact same state as it was when I made the tar, but the problem is tar doesn't delete the files/directories that were not present at the time of the tar creation. To test this, I made a new text file in my home directory, restored, and the file was still there. After extensive googling, I cant seem to find what (if any) options I can pass to tar that will cause this to happen. I tried using -G, but it didn't work the way I'm wanting it to. I also realize that I could do a full reinstall and then extract the tar, but I'm running an encrypted root and swap, and to fully encrypt 80GB takes about an hour, and I'd really rather avoid that if possible. I liked the idea of using tar to backup my system because I can do it on the fly, but perhaps this is not the best method. If I cant pass a certain option to tar to accomplish my goal, does anyone have any suggestions of an alternative "on-the-fly" backup method similar to tar?
rsync should fit your needs well. However, tar should also be fine. Just delete every file (or even mkfs, which might be faster if using ext2/3, they're not the speediest filesystems around for deletion) and restore with the "p" option (preserves permissions -- needs to be root); you don't need any special option when creating or appending an archive, just when restoring.
Hi there Just done fresh Lenny Beta2 installation. I use to have Etch 2.6.18-6-686 but coz of some problems with Intel video i wifi I want Lenny. Done the istallation - no probs at all, but after reboot the machine hangs up at : Waiting for /dev to be Fully populated Then the only way to reboot or shutdown is from button.If i switch to single-user from grub it's hang up after : ACPI: AC Adapter [ADP1] (on-line) if i remove the battery after : ACPI: BAttery Slot [BAT1] (battery absent) I turn off SpeedStep (not sure for the correct name) from BIOS and still the same.If i have to boot knoppix i have to : boot ACPI=off noapic pci=bios (or similar) or my laptop will freeze during the loading. Dont know what info to provide so please if there is some help or questions please .... help
What is your chipset? Can you post lspci -nn from a liveCD or from the old kernel? Are you booting with "quiet"? It should be giving a lot of modprobe information while waiting for /dev to be populated which will give you more information about what has gone wrong.
With the latest update of Firefox (3.0.1) from Debian Lenny updates, I encountered the beginnings of having difficulty in updating any addons/extensions. Symptoms were: 1. Unable to add-update extensions, themes, additional search engines - Download error -228 2. erratic web-site behavior; failure to load, links returning errors, etc. - unable to Dowlnload Another mystery was that I was encountering the EXACT same issues on my alternate installed distro of Mandriva 2008.1 (Spring)!!? I knew something was strangely amiss, since both distros are definitely different: kernel, software, configurations, etc. I did the usual review of any/all Debian-Mandriva forums, Mozilla forums, Google searches. Many came close to some of the symptoms- but NONE resolved them...! Did all the typical adjusts: - create clean new Firefox profile - review, eliminate all addons - validate networks configs, firewalls, etc. - specific Mozilla KB recommendations: http://kb.mozillazine.org/Unable_to_ins ... _-_Firefox Nothing resolved my issues. Continued searching for the past two weeks, figuring somebody had to have these problems other than me, and also hoping that a new Firefox version may "magically" correct my ills... In my continued searching yesterday came across this Sabayon Linux (of all places..) forum posting: http://www.sabayonlinux.org/forum/viewt ... =a&start=0 undertaking the adjustment proposed there- DID resolve all my existing Firefox issues!! Resolution has to do with the latest Firefox version update adjusting (or being more sensitive to) the IPv6 interactions in your networking environment (I currently do NOT use IPv6). Specific aspects are: 1. go to "about;config" 2. validate that "network.dns.disableIpv6" is set to "false" 3. Set "network.dns.disableIpv6" to 'true" This fix was applicable to both my Debian Lenny and Mandriva systems- so something in the latest Firefox 3 version upgrade changed as regards IPv6 default specifications and/or interactions... Sharing this in the hope it helps someone else and reduces their time/frustration in the quest for resolution.
Additionally all of the above applies to Iceweasel as well....
I'm getting an error during configure about Qt libs/headers missing, and I have installed many qt dev packages as well as compiled and installed qt-x11-free from source. From configure script: Code: Select allchecking for Qt... configure: error: Qt (>= Qt 2.2.1) (headers and libraries) not found. Please check your installation! From config.log (relevant line): Code: Select all/usr/bin/ld: cannot find -lqt I even tried "export QTLIBS=/usr/lib/qt" before running the configure script to no avail. Have searched a half dozen forums for answers and nothing, so far. Thanks for any help Paul J. R.
Make sure the script's not doing someting stupid like checking a hardcoded location.
Hi, today it's the first day I have a connection to internet with my lenny pc. I have noticed that kde apps cannot connect (konqueror, kopete, amarok), but iceweasel works fine.Any ideas what's the problem? I
What type of connection are you using and what are you using to manage it?
Hi everyone, I am not able to decompress a backup file!!! I had tones of stuff to backup so I did $ tar -cvpjf test1.tar.bz2 books/ (it compress contents of books into a file called test1.tar.bz2 I then, splitted the files : split -b 4024m file_to_split Backup.tar.bz2 generating two files: Backup.tar.bz2.aa Backup.tar.bz2.ab I did burn them into two dvdS. Then, after formatting the hard drive and installing linux, I copied both file back into my home folder, and used the cat command: # cat Backup.tar.bz2.a* > Backup.tar.bz2 So far, so good. Then, I did: tar -xvjf Backup.tar.bz2 It starts decompressing, but then there is a moment when it stops and tell me: Input file = (stdin), output file = (stdout) It is possible that the compressed file(s) have become corrupted. You can use the -tvv option to test integrity of such files. You can use the `bzip2recover' program to attempt to recover data from undamaged sections of corrupted files. tar: Unexpected EOF in archive tar: Unexpected EOF in archive tar: Error is not recoverable: exiting now So I did used the bzip2recover, it creates a huge amount of files of type rec0000Backup.tar.bz2 And then, I did: bunzip2 r*.bz2 which stops at the corrupted block, in my case rec03547Backup.tar.bz2 I renamed the corrupted file and then try "tar" in the others: tar xf r*.bz2 but I get: tar: Unexpected EOF in archive tar: Error is not recoverable: exiting now I have spend the whole day with google, but I have not found a solution and I am starting to desperate. It must be a way to recover the information on the non-corrupted files, isn't it? Thanks in advance, Jofre
HAPPY END! (or as good as it could get) I finally found a brilliant webpage: http://www.bestsolution.at/support/cons ... es.html.en with the solution on it (it had exactly the same problem as me)
What should I do to install kdevelop from backports. I am using Etch. I need this upgrade to avoid a bug rendering the debugger useless. Thanks in advance.
http://backports.org/dokuwiki/doku.php?id=instructions
I can't seem to find any wireless networks when I click on the nm-applet icon. (I know there is wireless near by) and I think the driver is installed by default. I'm running the latest Lenny kernel. laptop:~# lspci |grep 4965 0c:00.0 Network controller: Intel Corporation PRO/Wireless 4965 AG or AGN Network Connection (rev 61) So thats my wireless card. laptop:~# ifconfig -a eth0 Link encap:Ethernet HWaddr 00:17:42:6f:81:d3 inet addr:10.0.0.4 Bcast:10.0.0.255 Mask:255.255.255.0 inet6 addr: fe80::217:42ff:fe6f:81d3/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:4955 errors:0 dropped:0 overruns:0 frame:0 TX packets:4090 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:4577684 (4.3 MiB) TX bytes:383587 (374.5 KiB) Interrupt:16 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:10 errors:0 dropped:0 overruns:0 frame:0 TX packets:10 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:660 (660.0 B) TX bytes:660 (660.0 B) wlan0 Link encap:Ethernet HWaddr 00:13:e88f:c1 BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) wmaster0 Link encap:UNSPEC HWaddr 00-13-E8-CD-8F-C1-65-74-00-00-00-00-00-00-00-00 BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) Here you can see that wlan0 is up(!!!) o.O laptop:~# lsmod |grep 4965 iwl4965 92904 0 firmware_class 6816 2 pcmcia,iwl4965 iwlcore 23520 1 iwl4965 mac80211 139680 2 iwl4965,iwlcore cfg80211 21576 2 iwl4965,mac80211 And it seems like the driver is installed. So what do you guys think?
Do you have the firmware installed and correctly loaded? Even without firmware you can see the device, but it will not be able to scan or connect.
How to connect an ADSL to Internet? Usually, on the first configuration I just provide the user name and password, then everything happens automatically. To clarify: "pppoeconf" to Debian or "pppoe-setup" to other distros and at the end I'm connected! This applies to Kanotix, Dreamlinux, Mint, Mandriva, Parsix, Puppy etc. Live-CD or hardisk installed. I have not found the Debian files or anything on Debian cd (iso). If the packages are not installed how can I install them? I have Kanotix Thorhammer on HD and some live-cd for a possible "copy/paste". I'm not an Unix/Linux command line expert. TIA André
You want to install pppoe and pppoeconf. From a console become root (su enter and then type your root password) and issue this commandCode: Select allapt-get install pppoe pppoeconf Now run ppoeconf to help you configure you connection.
Just installed Debian 4.0r4a on my dual core 3.0 ghz that I multi-boot with other distros and windows. When I open iceweasel one tab will open but if I click on a link to open in another tabl it times out after a long time. It tries for a long time it seems before it times out. I haven't been able to open more than one tab. Has anyone run into this? Thanks, Harold
houndhen wrote:Did that and this is what I got: Code: Select alliceweasel -safe-mode (firefox-bin:3382): Gtk-WARNING **: cannot open display: Don't do it as root...
Hi, I have emacs 22 installed, but if I try to read the manual, its says: "info file emacs does not exist". How can i install it? dpkg -l | grep emacs ii emacs-goodies-el 29.3-2 Miscellaneous add-ons for Emacs ii emacs-lisp-intro 2.04-4 An Introduction to Programming in Emacs Lisp rc emacs22 22.2+2-2 The GNU Emacs editor ii emacs22-bin-common 22.2+2-3 The GNU Emacs editor's shared, architecture ii emacs22-common 22.2+2-3 The GNU Emacs editor's shared, architecture ii emacs22-gtk 22.2+2-3 The GNU Emacs editor (with GTK user interfac ii emacsen-common 1.4.17 Common facilities for all emacsen
The emacs22-common-non-dfsg package is what you're looking for(it's in non-free).
debian 4.0 r4 boots all text then starts x and before it gets to the desktop, it gets stuck at "window manager" and stays there.
forgot to mention: it worked fine until installing that last "software update".
Is it possible for me to install anki in Debian Etch? It is not in backports and when I got the .deb of it from anki's website, installing it requested more up to date dependencies than etch has in the repositories and backports doesn't have those dependencies so what I did was installed the lenny .debs and tried to install them all manually but only 1 out of 5 of the dependencies worked! Here is what I had done before doing anything with the dependencies: deniz@debian:~$ su Password: debian:/home/deniz# cd Desktop debian:/home/deniz/Desktop# dpkg -i anki_0.9.7.1-1_all.deb Selecting previously deselected package anki. (Reading database ... 96472 files and directories currently installed.) Unpacking anki (from anki_0.9.7.1-1_all.deb) ... INFO: using unsupported version '/usr/bin/python2.5' dpkg: dependency problems prevent configuration of anki: anki depends on python-qt4 (>= 4.2); however: Package python-qt4 is not installed. anki depends on python-sip4 (>= 4.6); however: Package python-sip4 is not installed. anki depends on python-sqlalchemy (>= 0.4.1); however: Package python-sqlalchemy is not installed. anki depends on python-simplejson (>= 1.7.3); however: Package python-simplejson is not installed. dpkg: error processing anki (--install): dependency problems - leaving unconfigured Errors were encountered while processing: anki debian:/home/deniz/Desktop# I had used dpkg in the same way to install the dependencies in the same order that the above stated. Stil..I can't get anki. Someone please help me get it to work because I really need this for school and in worse case, can someone help me install it and use it using wine? I think I installed it but I am not quite sure if cd then wine nameoffile.exe installed it but I think it did. However, I don't see it in the menu so I can't launch it. In the end, I'd be happy running the windows or linux version but if possible I would much rather use the linux version. Thanks in advance!
Sometimes things can't be compiled against older libraries. I'd recommend upgrading from Etch to Lenny(which is currently in the middle of the deep freeze).
Could anyone please confirm whether the message from aptitude upgrade is OK? Code: Select alledbarx-pc2:/home/edbarx# aptitude upgrade Reading package lists... Done Building dependency tree... Done Reading extended state information Initializing package states... Done Reading task descriptions... Done Building tag database... Done The following packages will be upgraded: libxml2 libxml2-dev libxml2-utils linux-headers-2.6.18-6 linux-headers-2.6.18-6-686 linux-image-2.6.18-6-686 python-libxml2 7 packages upgraded, 0 newly installed, 0 to remove and 0 not upgrad Need to get 21.4MB of archives. After unpacking 7852kB will be used. Do you want to continue? [Y/n/?] n Abort. My current kernel is: linux-image-2.6.18-6-686 What is happening?
well yes it should be okay - once u do the updates esp. with the kernel updates - reboot and it should reboot into ur normal kernel - if probs arise as they may or may not, press esc @ the grub prompt and choose the last kernel that worked for you... Again it's okay to update the kernel the distro providies as these updates provide bug fixes, etc.. as for me personally I run my own custom kernel - I would remove the ol' one but synaptic, etc.. wants to when trying to remove to update the kernel anyways and I don't feel like updating a kernel on dialup that I prob. will remove later at this time..., etc.. & so forth..
I would like to use apt-build for certain programs. However I wonder if apt-build is compatible with aptitude. From what I understand aptitude is the preferred application (instead of apt-get) because of better (reverse) dependency handling by aptitude. Using apt-get interferes with aptitude in that regard. I wonder if the same is true for apt-build.
apt-build is apt. However, the only thing about aptitude that apt doesn't do in Etch is remove automatically installed dependencies. The version in Lenny does, but only if told explicitly to do so, not as an unbreakable tenet of package management.
Hi.I tranfered my debian etch installation from my laptop to enother system (vmware).How can i reconfigure the network like the debian installation time?Is thare any way to bring that screen back again? Thanks (and sorry for bad english) SOLVED
./vmware-config.pl? (in a terminal) vmware manages it's own network configuration and if I'm not mistaken, you should be able to do that during configuring.
I've been using KDE but I would like to use Xfce (KDE has some automatic things which were easier for me to get "up and running" while I don't know how to do things). I don't like to always be connected to the internet so I disconnect from the router when I don't want to be connected. In other distros, this can be done by "ifconfig eth0 down" and "ifconfig eth0 up" but in debian, "ifconfig eth0 down" brings the connection down, but "ifconfig eth0 up" doesn't bring up a working connection. It hasn't been a problem in KDE because using the "enable" and "disable" choices in the "Network Settings" option in the KDE Control Panel can be used instead. But I don't know how to get a working connection up in Xfce. Does anyone have any clues as to what I need to do/look at? Thanks.
This is because the ifconfig up command by itself doesnt actually configure the interface, it just brings it up. The best way to start/stop/restart networking is to use the networking script that is called on boot when bringing up networking: /etc/init.d/networking [start|stop|restart] this script looks for the configuration in /etc/network/interfaces file and configures the interfaces accordingly.
How do I get rid of adverts, especially irritating animated ones? With adverts plaguing my internet experience, my Debian GNU/Linux experience is progressively being rendered the same like what I used to experience when I used MS Windows 98 and MS Windows 95. Sorry for sounding like a perfect troll, but this is my current experience which, unfortunately, I cannot deny. To browse the internet I use konqueror and IceWeasel. I know there are some plugins that I can install, but these are non-free. Is there anything PURELY DEBIANITE that I can resort to? Also, is it possible that I harden my firewall configuration, i.e. iptables?
Using the hosts file is a popular method I have heard... here is a Google search for you just because I'm feeling nice today Personally I only use Iceweasel so I simply use Adblock and Flashblock. Adblock is simply nothing less than impressive by the way. Even stops the ads on the pages of my local newspaper.