• General Linux Chat and Small Questions v. I broke my Arch Install
    6,886 replies, posted
I've had some issues in the past with apt-get and the way it handles dependencies, on normal installations. Like, it decides to remove half my system during a normal update, which any decent package manager shouldn't do unless you force it, in my opinion.
I just find the apt-cache search to be impotent. I can't seems to find simple packages without searching online for their package names. With reference to the two man pages it looks as though pacman -Ss <regex> and apt-cache search <regex> do exactly the same thing, but in practice I much prefer the former.
[QUOTE=Rayjingstorm;42112671]I just find the apt-cache search to be impotent. I can't seems to find simple packages without searching online for their package names. With reference to the two man pages it looks as though pacman -Ss <regex> and apt-cache search <regex> do exactly the same thing, but in practice I much prefer the former.[/QUOTE] In Portage you can just do "emerge -s <regex>" (or "emerge -S" if you want to search the description field as well). It's rather slow, however, so most people just install eix and use that.
So I just replaced my video drivers with the open source ATi ones GMod works better than it used to work with the proprietary ones. Why, I dunno, I'm just glad it finally works.
Just logged onto my server to continue setting everything up. I was greeted by this: [code] login as: root root@basbieling.com's password: Last failed login: Sat Sep 7 19:13:22 EDT 2013 from 138.91.177.9 on ssh:notty There were 42 failed login attempts since the last successful login. Last login: Fri Sep 6 17:03:03 2013 from SECRET[/code] [url]http://whois.domaintools.com/138.91.177.9[/url] The IP that tried to break in belongs to Microsoft. I'm used to bots trying to break in and failing but that shit is weird.
[QUOTE=lavacano;42117109]In Portage you can just do "emerge -s <regex>" (or "emerge -S" if you want to search the description field as well). It's rather slow, however, so most people just install eix and use that.[/QUOTE] eix with optimizations built in is hella fast though. I love using Gentoo, it's really one of the more pleasent things I've done in my time with Linux systems.
[QUOTE=Mega1mpact;42117799]The IP that tried to break in belongs to Microsoft. I'm used to bots trying to break in and failing but that shit is weird.[/QUOTE] Some smartass breakaway from a tour group, maybe?
[QUOTE=Rayjingstorm;42108968]This does sound odd, as my Ubuntu installation on my new laptop even automounted drives for windows UEFI bootcode and the windows recovery partition. I would recommend you install lsscsi, [code] sudo apt-get install lsscsi [/code] which will list devices like ATA and SATA drives as well as useful information like their location in the device filesystem. [code] $ lsscsi [0:0:0:0] disk ATA Hitachi HTS72505 PC4O /dev/sda ... $ ls /dev/sda* /dev/sda /dev/sda1 /dev/sda2 /dev/sda3 [/code] In this case there is an ATA Hitachi drive represented by the file /dev/sda with 3 partitions, /dev/sda[1-3]. You can mount the partitions using the mount command, which should auto-recognize ntfs. If, for example, you recognize drive sda and partition 2 as being your E: drive, you might do this. [code] mkdir /mnt/e_drive/ mount /dev/sda2 /mnt/e_drive/ ls /mnt/e_drive/ [/code] Sorry if this is too complicated, but it is as straight forward as it gets when GUI tools fail.[/QUOTE] This would all require having Ubuntu installed, right? I would imagine it wouldn't let me install lsscsi if it's running off a live disc.
[QUOTE=A big fat ass;42123674]This would all require having Ubuntu installed, right? I would imagine it wouldn't let me install lsscsi if it's running off a live disc.[/QUOTE] You should be able to install packages.
I use my live-cd as a recovery environment and sometimes I have to install something, like when I bork my sudoers file and lock myself out of root access. This is one situation where having a dedicated root account might save a bit of hassle, but then again so would competence :v:
What's a good way to network computers? Samba is really hard to use assuming you have a multiuser system.
[QUOTE=Jookia;42126248]What's a good way to network computers? Samba is really hard to use assuming you have a multiuser system.[/QUOTE] Depends what you want to share, UPnP AV (I use MediaTomb) works great for Music and Videos. For everything else I use HTTP or SSHFTP depending on what I'm connecting to.
How's Fedora? I've pretty much only used Debian-based Linux and a bit of CentOS at school, though it's between Ubuntu 13.10, which isn't "Released" or Fedora 19 for my laptop. There aren't many distros that will boot on my laptop in UEFI mode. I'm tempted to go for Ubuntu since Wifi worked out of the box. EDIT: Read a little more about Fedora and my laptop and when I read that I have to recompile the kernel to get wifi working, I stopped reading and noped out of there. I hate fucking around with wireless on Linux, so I'll go with Ubuntu.
Fedora is alright, but their stance on free software makes some things difficult.
Ehhhhh, I think I'll wait a little longer for Ubuntu 13.10 to release. It just killed the Windows install on my laptop. I don't have anything important on it, though I'll probably lose tomorrow reinstalling everything.
I don't think 13.10 is much different from 13.04
Hey guys if you're interested I made a neat little tool called [url=https://github.com/naelstrof/slrn]slrn[/url] (Select Region). It's used for screenshotting and screenrecording scripts. For example to prompt the user to select a window (or regions!) and record it in ffmpeg would look like this: [code]#!/bin/bash eval `slrn` ffmpeg -f x11grab -s "$W"x"$H" -i :0.0+$X,$Y -f alsa -i pulse $File[/code] So with this you can record windows with a simple script bound to your keyboard. If you're anything like me and have a server mounted on your computer: you can make a really mean screenshot and video recording script really easily. The main reason I made it is because scrot's -s is really terrible and there's really no tools that simply let you select a window OR a region all pretty like. I'll be improving this tool still (I'm probably going to add actual screen-taking features), but the next tool I'll make will be a utility to automatically upload images to the best available image hosting sites. Oh, and I'd also appreciate if someone would test slrn and tell me the results. [editline]asfd[/editline] Here's some comparisons too: [url=http://farmpolice.com/content/images/slrn_good.png]Here's what selecting a region looks like in slrn[/url] [url=http://farmpolice.com/content/images/scrot_bad.png]Here's the same thing, but using scrot -s[/url]
[QUOTE=Naelstrom;42128454] The main reason I made it is because scrot's -s is really terrible and there's really no tools that simply let you select a window OR a region all pretty like. [/QUOTE] There are, but ksnapshot isn't a command based application.
I am going to install linux for my laptop (intel atom 1 gb ram) What you think guys ? which should I install ? ubuntu fedora gentoo ?
[QUOTE=efecanefe;42130516]I am going to install linux for my laptop (intel atom 1 gb ram) What you think guys ? which should I install ? ubuntu fedora gentoo ?[/QUOTE] Xubuntu
[QUOTE=efecanefe;42130516]I am going to install linux for my laptop (intel atom 1 gb ram) What you think guys ? which should I install ? ubuntu fedora gentoo ?[/QUOTE] Definitely not [B]U[/B]buntu, it's waaayyy too memory intensive for 1GB RAM (Trust me, I tried). [B]Xu[/B]buntu isn't much better either. Either [URL="http://www.lubuntu.net"][B]Lu[/B]buntu[/URL], [URL="http://crunchbang.org/"]Crunchbang[/URL] or [URL="http://www.linuxmint.com/download_lmde.php"]LMDE MATE[/URL]
just install ubuntu and debian then install whatever de you want after
[QUOTE=danharibo;42128046]I don't think 13.10 is much different from 13.04[/QUOTE] 13.04 wouldn't boot on my laptop in UEFI mode. 13.10 does. The joys of running Linux on new computers...
[QUOTE=benjgvps;42132177]13.04 wouldn't boot on my laptop in UEFI mode. 13.10 does. The joys of running Linux on new computers...[/QUOTE] Also linus hates UEFI. So there is no official support in the kernel yet. [editline]9th September 2013[/editline] as far as I know [editline]9th September 2013[/editline] [QUOTE=efecanefe;42130516]I am going to install linux for my laptop (intel atom 1 gb ram) What you think guys ? which should I install ? ubuntu fedora gentoo ?[/QUOTE] What benbb said and I've come to terms with the fact that Fedora is harder then I wish it was. I requires you to know more Linux commands etc then Debian etc. Also stay away from gentoo unless you know exactly what you're doing.
[QUOTE=Naelstrom;42128454]Hey guys if you're interested I made a neat little tool called [url=https://github.com/naelstrof/slrn]slrn[/url] (Select Region). It's used for screenshotting and screenrecording scripts. For example to prompt the user to select a window (or regions!) and record it in ffmpeg would look like this: [code]#!/bin/bash eval `slrn` ffmpeg -f x11grab -s "$W"x"$H" -i :0.0+$X,$Y -f alsa -i pulse $File[/code] So with this you can record windows with a simple script bound to your keyboard. If you're anything like me and have a server mounted on your computer: you can make a really mean screenshot and video recording script really easily. The main reason I made it is because scrot's -s is really terrible and there's really no tools that simply let you select a window OR a region all pretty like. I'll be improving this tool still (I'm probably going to add actual screen-taking features), but the next tool I'll make will be a utility to automatically upload images to the best available image hosting sites. Oh, and I'd also appreciate if someone would test slrn and tell me the results. [editline]asfd[/editline] Here's some comparisons too: [url=http://farmpolice.com/content/images/slrn_good.png]Here's what selecting a region looks like in slrn[/url] [url=http://farmpolice.com/content/images/scrot_bad.png]Here's the same thing, but using scrot -s[/url][/QUOTE] Thank you so much for this, it seems to do my jobs so very well and simple! Proof that it does what is advertised: [url=https://dl.dropboxusercontent.com/u/5579836/test.webm]test.webm[/url]
[QUOTE=mastersrp;42133224]Thank you so much for this, it seems to do my jobs so very well and simple! Proof that it does what is advertised: [url=https://dl.dropboxusercontent.com/u/5579836/test.webm]test.webm[/url][/QUOTE] aaaaa thank you I love positive feedback. <3 I'll be adding color options in a minute, from there I think it'll be complete. [editline]asdf[/editline] [url=https://github.com/naelstrof/slrn/commit/eef0c29838aa2cd7afb9a671d29a309b190234ea]Color options have been added.[/url]
[QUOTE=Rayjingstorm;42108968]This does sound odd, as my Ubuntu installation on my new laptop even automounted drives for windows UEFI bootcode and the windows recovery partition. I would recommend you install lsscsi, [code] sudo apt-get install lsscsi [/code] which will list devices like ATA and SATA drives as well as useful information like their location in the device filesystem. [code] $ lsscsi [0:0:0:0] disk ATA Hitachi HTS72505 PC4O /dev/sda ... $ ls /dev/sda* /dev/sda /dev/sda1 /dev/sda2 /dev/sda3 [/code] In this case there is an ATA Hitachi drive represented by the file /dev/sda with 3 partitions, /dev/sda[1-3]. You can mount the partitions using the mount command, which should auto-recognize ntfs. If, for example, you recognize drive sda and partition 2 as being your E: drive, you might do this. [code] mkdir /mnt/e_drive/ mount /dev/sda2 /mnt/e_drive/ ls /mnt/e_drive/ [/code] Sorry if this is too complicated, but it is as straight forward as it gets when GUI tools fail.[/QUOTE] lsscsi does seem to recognize the drive and partitions, [code] ubuntu@ubuntu:~$ lsscsi [1:0:0:0] disk ATA ST3200822AS 3.02 /dev/sda [4:0:0:0] cd/dvd HL-DT-ST DVDRAM GP08LU30 1.01 /dev/sr1 [5:0:0:0] cd/dvd HL-DT-ST DVD-RAM GH22LP20 2.00 /dev/sr0 [6:0:0:0] disk ATA WDC WD10EARS-00Y 80.0 /dev/sdb [/code] and sdb appears to be the drive that didn't show up from what I can tell [code] ubuntu@ubuntu:~$ ls /dev/sdb* /dev/sdb /dev/sdb1 /dev/sdb2 /dev/sdb5[/code] but it will not let me mount the any of the drives, it gives superblock as the reason why [code]ubuntu@ubuntu:/media/newhd$ sudo mkdir /mnt/e_drive/ ubuntu@ubuntu:/media/newhd$ sudo mount /dev/sdb5 /mnt/e_drive/ mount: /dev/sdb5: can't read superblock [/code] I'm not sure why it's saying it can't read the superblock though, as I've never had any problems with it on Windows and I usually do a chkdsk on it every few months to make sure the file system and sectors are all good. [editline]10th September 2013[/editline] I found out last night that Windows safe mode can copy things to the usb drive without issue, so I might as well do that than have trouble getting the drive to mount in Ubuntu.
[QUOTE=A big fat ass;42137321]lsscsi does seem to recognize the drive and partitions, [code] ubuntu@ubuntu:~$ lsscsi [1:0:0:0] disk ATA ST3200822AS 3.02 /dev/sda [4:0:0:0] cd/dvd HL-DT-ST DVDRAM GP08LU30 1.01 /dev/sr1 [5:0:0:0] cd/dvd HL-DT-ST DVD-RAM GH22LP20 2.00 /dev/sr0 [6:0:0:0] disk ATA WDC WD10EARS-00Y 80.0 /dev/sdb [/code] and sdb appears to be the drive that didn't show up from what I can tell [code] ubuntu@ubuntu:~$ ls /dev/sdb* /dev/sdb /dev/sdb1 /dev/sdb2 /dev/sdb5[/code] but it will not let me mount the any of the drives, it gives superblock as the reason why [code]ubuntu@ubuntu:/media/newhd$ sudo mkdir /mnt/e_drive/ ubuntu@ubuntu:/media/newhd$ sudo mount /dev/sdb5 /mnt/e_drive/ mount: /dev/sdb5: can't read superblock [/code] I'm not sure why it's saying it can't read the superblock though, as I've never had any problems with it on Windows and I usually do a chkdsk on it every few months to make sure the file system and sectors are all good. [editline]10th September 2013[/editline] I found out last night that Windows safe mode can copy things to the usb drive without issue, so I might as well do that than have trouble getting the drive to mount in Ubuntu.[/QUOTE] Probably just as well, I'm sorry it didn't work out. As one last shot, you can try explicitly stating the filesystem type with the -t flag, as in "mount -t ntfs" (it might be guessing wrong). I'm not too savvy on this kind of stuff, just thought I'd give my 2 cents.
So out of necessity,(Laziness) I had to completely wipe my drive of windows and everything else and switched to Ubuntu. Is there anything recommended other than WINE or GIMP or stuff like that?
Any clue why this isn't working? [code][root@Antarctica ssh]# iptables -A INPUT -m geoip --src-cc A1,A2,CN,UA,RU -j DROP --dport 22 iptables v1.4.18: Couldn't load match `geoip':No such file or directory Try `iptables -h' or 'iptables --help' for more information. [/code] [editline]10th September 2013[/editline] I have geoip installed [editline]10th September 2013[/editline] I should install xtables-addons according to a lot of sites but there are no recent guides (for fedora17+) and the official package uses tar.lz (something I don't know how to unpack) [editline]10th September 2013[/editline] [QUOTE=Megaman1811;42138677]So out of necessity,(Laziness) I had to completely wipe my drive of windows and everything else and switched to Ubuntu. Is there anything recommended other than WINE or GIMP or stuff like that?[/QUOTE] [B]pinta[/B] - plain old paint [B]nano[/B] - great for editing configs [b]weechat[/b] - Irc client [editline]10th September 2013[/editline] I managed to fix it. I forgot to install the rpm fusion repos...
Sorry, you need to Log In to post a reply to this thread.