In the past (with Wheezy and before) I often used "decompress" via double click on compressed folders or "compress" via right click on folders (or files) in Nautilus. Since I installed Jessie this option has vanished. I added several packages like "zip", "7z", "unzip" and so forth. Now I can do similar things via command line, but I just don't find any option anywhere to enable compressing and decompressing in Nautilus again. There seem to be no options for configuring such things in Nautilus.
I have the odd feeling my Jessie installation is broken since many little things are missing from the beginning. Should the old behaviour of Nautilus be standard in Jessie also?
How to compress a PDF document (open in vim, hold down D for a few seconds) and that's worked, but now the document won't open anymore. How do I decompress it?
I have recently upgraded to Bugzilla3 and I wanted to restore my bugzilla database with my backup but when I attempt to tar -xvvzf file.tgz I get the error: gzip: stdin: not in gzip format tar: Child returned status 1 tar: Error exit delayed from previous errors
My script that creates the backup is: #!/bin/sh datestr=`date +%m-%d-%Y` bakdirpart="bugzilla.backup.$datestr" bakdir="$HOME/$bakdirpart" mkdir "$bakdir"
(cd /etc; tar cvzf $bakdir/mysql.conf.tgz mysql) (cd /etc; tar cvzf $bakdir/apache2.conf.tgz apache2) (cd /usr/share; tar cvzf $bakdir/bzreport.share.tgz bzreport) (cd /usr/share; tar cvzf $bakdir/bugzilla.share.tgz bugzilla) (cd /var/lib; tar cvzf $bakdir/mysql.hotdb.tgz mysql) (cd /var; tar cvzf $bakdir/www.tgz www) (cd "$HOME"; tar cvf "${bakdir}.tar" "$bakdirpart")
I need to recreate my initrd.img after having extracted its contents. Bash by itself; pointing me to similar threads in this forum and google are useless to me and a waste of everyone's time as that has all failed. I need a working example. Apparently, I am supposed to use this bash command (s): "zcat ../initrd.gz | cpio -i -d." The preceding command is unintelligible to me. I cannot compress the initrd.img file and folders back into an initrd.gz file with a compression level of 9, so that I can rename with a .img extension.
My understanding of recompressing folders back into the initrd.img: Google and this forum all point to bash involving either zcat or cpio and then gzip with a compression level of 9. However, I require exacting instructions for using these commands to compress the folders that have been extracted from the initrd.img back into one homogenous initrd.gz archive so that that the created initrd.gz can be renamed initrd.img
Note: posting bash without that an example is a waste of everyone's time as I found that on Google and it was useless as I lack the requisite computer science degree or years of Linux guru experience needed to figure out how to specify the arguements proprerly. What I need is a working example, not just bash.
Note2: To save time, the answer to why I need to edit the initrd.img is this: Two different utilities (based upon the same parent system & kernel) use the same initrd and the same file paths. When they are installed on separate partitions and the one farthest from the mbr is selected for boot, it will begin to boot and then switch to the one closest to the mbr, which results in a failed boot. If one is removed, the other boots fine, so it's not a menu.lst or a lilo config problem.
I'm running a virtual machine of CentOS 3 and I am trying to decompress a tar file, but I run out disk space. I created the VM with 80 GB of disk space. When I look at the partititions, (du command) I have /dev/sda2 with a partition of 70GB mounted on /home with < 1% used.
Here comes the n00b question: How do I use the 70GB of space on sda2? I thought working in the /home directory, where sda2 is mounted, would give me access to that disk space, but the tar files fill up the /boot partition.
I have tried to plan my backup plans. As I want it simple I am gonna use only tar.gz combination of some files that are important. My question then is the following:
-I have a 100GB hard disk with 20Gb free space only. I would like to backup the rest 80Gb to an external hard disk. I run my scripts which end up saving a 75Gb(due to compression) to my external hard disk.
-->Then comes the times to try to see the contents of my archive (just to make sure that I can recover what is inside the 75GB disk file). Do you know if tar.gz needs to decompress the 75Gb file in some /tmp space in my hard disk for showing me the contents inside it? In that case it will not be easy at all to ever look at what is inside it in my hard disk, as there is no 80Gb of free space in my hard disk (20gb only).
I'm not having the invisible mouse problem, I don't have a mouse at all. Nothing is selected when I attempt to use my touchpad no matter how much I try. I've been trying to fix this problem for three or four days including by installing alternative OSs (Ubuntu Gnome 15.10, Ubuntu 14.04, Ubuntu 15.10), but those OSs have trouble finding the boot drive and is generally a massive nightmare. I figured Debian's lack of mouse would likely be easier to fix and so here I am. I've searched Google relentlessly for days now, the Man pages are useless for my problem, and the only mouse related posts on the forum didn't fit my own issues.
I'm using a Toshiba Satellite C55D-B5102 AMD-64 with Debian 8.2 (Jessie) and none of the operating options like Cinnamon selected at install.
How do you disable startx in Jessie when it boots up? In Wheezy I just had to disable the gdm3 service. I also tried a few settings in grub, but it still starts.
I've had a weird issue recently with Java/Spring. Basically, it would work on all machines but my trusty Debian box. Macs for devs, Ubuntu for production and some devs have it too. This annoyed me, because of course Debian is the greatest and it must work there too! Also, Java is based on the whole write once run anywhere concept, I have never really had a problem with code behaving differently on different Java installs of the same version, even on completely different OSs it seems to behave itself very well. URL....
I moved up to Jessie and the problem goes away. I can only conclude that some library that is called by Java got upgraded, somehow influences the order in which Spring resolves its dependencies. Probably the fact that other devs build on Ubuntu and have got it working there, and the upgrade to Jessie brings my libs more in line with what Ubuntu will be running has done the trick.
The grub boot loader offers in options to boot with sysv instead of systemd. The problem is that it seems to fail and fallback to systemd. Let's have a look on my dmesg :
Is it necessary to purge and reinstall sysvinit in order to guarranty configuration updates or on the contrary, will I break my system if it has none of systemd nor sysv ?
I'm trying to install zoneminder on my system (Debian 8 Jessie). I was trying to follow a guide on puccinellidigital, since I use nginx on my machine.
everything is OK, but I can't get the xinet to work
Code: Select allservice xinetd status Code: Select all... Oct 09 14:24:39 donnager xinetd[1102]: service/protocol combination not in /etc/services: zms/tcp ...
I keep most of my files on my server, but fiddle with them using NFS from one or another of my laptops - so they all have static IPs assigned by my router. If I want extra speed I plug in an Ethernet cable. My old DI524 wireless G router seems quite happy to have two MAC addresses (Ethernet and wireless) assigned to the same static IP, so long as I don't try using both simultaneously. However three Wireless N routers I've tried won't allow this, nor will dd-wrt.
I really don't want to have to set up every laptop as two separate hosts on my network. 'orrible complications.
Best solution I can think of is to get the Ethernet card to spoof the wireless MAC address with e.g. macchanger, as per this excellent page here: [URL] ....
I don't mind running a script manually to do that on each occasion.
This works perfectly on my old R50 Thinkpad running Debian Squeeze, but on my R60 (running Wheezy) and T400 (running Jessie), macchanger works initially, BUT as soon as I hit 'enable networking' in the Network Manager applet, the ethernet card reverts to its original setting. So of course then my router allocates a random IP and so NFS won't work.
Exactly the same goes for the iproute method 'ip link set dev eth0 address [fakemac]' - ifconfig shows it's worked, but it reverts as soon as NetworkManager goes back up.
I don't know where Network Manager (if it is that) is getting the Ethernet card's original MAC from, it seems to be listed in /etc/udev/rules.d/70-persistent-net.rules, so on the T400 (Jessie) I've even tried creating a file in /etc/udev/rules.d/75-mac-spoof.rules along the lines suggested in that archlinux page I mentioned - ACTION=="add", SUBSYSTEM=="net", ATTR{address}=="[original MAC]", RUN+="usr/bin/ip link set dev %k address [fake MAC]"
but it seems to have no effect.
Short of reverting to Debian Squeeze on all my laptops, I don't know what else to do. Or getting into my router and reassigning the IP / MAC address by hand every time (!).
(If there's a better way to swapping easily from wireless to Ethernet when required, I'd like to know.)
I have two desktops running wheezy for years without problems. Recently, I reinstall jessie on one of them and won't boot anymore.The hardware is pretty normal: Asus motherboard, 12GB RAM, Nvidia video card, SSD hard drive, .After the install of jessie finishes, the very first boot failed, which means it hung up forever. The part that is annoying is that it fails at different places whenever I try.
For example, something, it fails at the following: [ OK ] Started LSB: REP portmapper replacement [ OK ] Reached target RPC Port Mapper Starting LSB: NFS Support files common to client and server
Sometimes, it failed at start job is running for lsb set console font.It even failed to the console. When it goes to the console login, I can't put any user name or password. It's all frozen.The problem appears to be video card problem. But it worked fine in wheezy.
So, I did the upgrade to Jessie today and everything went fine and I do like the gray look of the Gnome Classic Desktop. Not much change here.
But it is impossible for me to install the 3.16 kernel.
When I try, I get the following error (sry, it's german, but you should get the point):
Code: Select allE: /var/cache/apt/archives/linux-image-3.16.0-4-amd64_3.16.7-ckt9-3~deb8u1_amd64.deb: Extrahierte Daten für »./lib/modules/3.16.0-4-amd64/kernel/drivers/media/rc/winbond-cir.ko« können nicht nach »/lib/modules/3.16.0-4-amd64/kernel/drivers/media/rc/winbond-cir.ko.dpkg-new« kopiert werden: Es konnte nicht geschrieben werden (Auf dem Gerät ist kein Speicherplatz mehr verfügbar)
It basically says, there is not enough space on /lib to copy the modules for the new kernel. (I have about 100M free there.)
So, as you can see, there isn't that much space on / at all - don't blame me, blame the Lenny Installer. Personally I can live with the 3.2 kernel but I wonder if there is any possibility to install the never one without a total re-partitioning.
I have debian jessie 8.8.1 Oscam and a phoenix card reader running on a tower pc. Everything works on reboot but when i leave it running then when i wake up in the morning the card reader has stopped working and does not show up in lsusb. The only way to get it working again is to reboot then it stops after x amount of time and the same problem.
I have installed debian 8.8.1 stable and run updates. When I run the cat release command it shows stretch/sid. I made no changes to the apt/sources list.
What do i have to do so it only updates with the stable release I am planning to use it as a server and only want stable fixes.
I am running debian 8 stable version (which I starting to think not that "Stable") and when i surf web pages its ok except the fact that I am too often get connection timeouts then i need to press "enter" in the ur box to try again and then its maybe work if not I am going to press another "enter" on the url box until i have connection to the site its important to say its not a isp or hardware problem. I run the web with no problems in that other operating system which I am not getting back to.....
I have been a windows user for a very very long time, and recently switched to debian. I have so to speak crapped all over my system failing to compile sourcecode properly held broken repos and what not.
So decided to reinstall debian last night, now I have a rather clean fresh installed copy. As I'm a new user to linux, I want to setup a backup system so I can revert to a clean fresh installation when I muck up my system.
Now I have downloaded and installed BackupPC with needed libraries and sitting here trying to configure it on my computer. I have followed this guide: [URL] ....
I have come to this section here:
********************** Server SSH KEY Creation and Deployment:
3. Deploy Key To Client Machine Copy id_rsa.pub to client machine
Now I'm not quite sure what to do here as I have no networked computers to deploy to only one machine. Although I want to make a local system backup and upload that to a server I have access to, but would that server be seen as a backuppc server/client?
On this computer here I have generated the id_rsa and id_rsa.pub located in /var/lib/backuppc/.ssh
looking at this part: Test ssh connection(On server, as Linux user backuppc) backuppc@server$ ssh root@<client machine>
How should I interpret @<client machine> should that to be ssh root@127.0.0.1 ?
It seems like ifconfig used to show which DNS servers were being addressed, but something has changed, I need to know whether I am referencing what I think I am... I have search this forum, googled, and come up empty... did the metrics go away with 8.2? Was I dreaming at 7.5?
I installed Debian Jessie on my Hummingbaord. I use it with apache, owncloud and minidlna but after some days i rebooted the system and then i can't log in with SSH anymore.
The message I get:
Access denied Using keyboard-interactive authentication. Password:
And this again and again, although I enter the right password. If I login directly on the Hummingboard all works normally...
I recently upgraded from wheezy to jessie and everything went as planned with dist-upgrade. However I just noticed that I can't play any video file. I thought about upgrading vlc, as it was already installed but it had dependency problems. So I tried to remove it
Code: Select allsudo apt-get remove --purge vlc
Then If I try to install vlc I receive this message:
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 resolve the situation:
The following packages have unmet dependencies:
vlc : Depends: vlc-nox (= 2.2.0~rc2-2) but 2.0.3-5+deb7u2+b1 is to be installed Depends: libvlccore8 (>= 2.2.0~pre1) but it is not going to be installed Recommends: vlc-plugin-notify (= 2.2.0~rc2-2) but it is not going to be installed Recommends: vlc-plugin-samba (= 2.2.0~rc2-2) but it is not going to be installed Breaks: vlc-nox (< 2.2.0~pre2-2~) but 2.0.3-5+deb7u2+b1 is to be installed E: Unable to correct problems, you have held broken packages.
Now, I thought about removing vlc-data but I received this message saying that 253 packages will be removed (624Mb worth of applications). Am I uninstalling my entire system with this?
This is my sources.list
deb http://ftp.us.debian.org/debian stable main contrib non-free deb-src http://ftp.us.debian.org/debian stable main contrib non-free deb http://ftp.debian.org/debian/ jessie-updates main contrib non-free deb-src http://ftp.debian.org/debian/ jessie-updates main contrib non-free deb http://security.debian.org/ jessie/updates main contrib non-free deb-src http://security.debian.org/ jessie/updates main contrib non-free
- Debian boots normally - I get the login screen - Once my credentials entered, I see only the grey foreground of the login screen for a couple of seconds, then a black screen with a prompt for like half a second and then I'm back to the login screen. No error message, nothing.
When booting in recovery mode and use startx, it works fine (it's my setup at the moment). From there, if I start gdm3 (systemctl start gdm.service), I get the black screen with a prompt and I can do nothing, I have to shut down directly by pressing the button.I tried to add Debian-gdm user to the video group (even if I don't use nVidia drivers), to replace gdm by lightdm and even to remove any display manager but the issue is not solved.Here are some outputs:
Code: Select all# dpkg-reconfigure gdm3 Job for gdm.service failed. See 'systemctl status gdm.service' and 'journalctl -xn' for details. invoke-rc.d: initscript gdm3, action "reload" failed Code: Select all# journalctl -xn -- Logs begin at Tue 2015-12-29 19:16:26 CET, end at Tue 2015-12-29 20:20:55 CET
[code]....
Since removing gdm didn't change anything, I assume it doesn't have anything to do with it but still.