User Tools

Site Tools


tool:software:arch_linux

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
tool:software:arch_linux [2019/08/01 23:07]
rjt [Converting Packages] deb2targz
tool:software:arch_linux [2020/06/29 16:50] (current)
rjt Moving pacman stuff to its own page
Line 72: Line 72:
  
 It was a really good introduction to Linux for me! But it's since (2019) been discontinued :( It was a really good introduction to Linux for me! But it's since (2019) been discontinued :(
- 
-===== Fixes ===== 
- 
-==== AUR ==== 
-=== .SRCINFO and PKGBUILD mismatch === 
- 
-Errors like 
- 
-  :: [package name] package(s) failed to install. 
-  :: ensure package version does not mismatch between .SRCINFO and PKGBUILD 
-  :: ensure package name has a VCS suffix if this is a devel package 
- 
-Are are [[pacaur]] problem, and can get gotten round by installing manually, or by using another helper 
- 
-[[Trizen]] and [[YAY]] seem to be the helpers to go for now. 
- 
-==== Converting Packages ==== 
-=== DEB === 
-== Debtap == 
-Can convert a .deb package into a PKGBUILD with one tool. Real simple to use. 
- 
-Usage: 
-  - ''#​ debtap -u''​ when you first run it to get the database up to date 
-  - ''​$ debtap -p [deb file]''​ to make the PKGBUILD 
- 
-  * [[git>​helixarch/​debtap]] 
-  * [[aur>​debtap]] 
- 
-== deb2targz == 
-  * [[aur>​deb2targz]] 
- 
-=== RPM === 
- 
-==== Free Space ==== 
-To clear Pacman'​s cache ''​pacman -Sc''​ --- you can use ''​paccache -rk 2''​ to delete everything except the last two versions of a package, //which is a good idea//. ''​paccache -ruk0''​ will remove everything for packages that are no longer installed. 
- 
-To find orphan packages ''​pacman -Qdt''​ 
- 
-==== Missing Files in Pacman Database ==== 
-Just ran into a little problem where a disk error took out a bit of my pacman database. 
- 
-This was giving me an error about a ''​desc''​ file every time I ran pacman, and blocking some parts of the process. using ''​--force''​ to reinstall the package didn't help, and I also was unable to remove it. 
- 
-Thanks to [[https://​bbs.archlinux.org/​viewtopic.php?​pid=1724969#​p1724969|this post]] I solved it by deleting the packages directory in ''/​var/​lib/​pacman/​local'',​ and reinstalled the database only with ''​pacman -U --dbonly [package].pkg.tar.xz''​ 
- 
-==== Speeding Up Package Building ==== 
-  * [[archw>​Makepkg]] 
-    * [[archw>​Makepkg#​Improving_compile_times]] 
-    * [[archw>​Makepkg#​Utilizing_multiple_cores_on_compression]] 
  
 ===== See Also ===== ===== See Also =====
-  * [[Linux]]+  * [[linux]] 
 +  * [[pacman]]
  
 {{tag>​fixes linux}} {{tag>​fixes linux}}
tool/software/arch_linux.txt · Last modified: 2020/06/29 16:50 by rjt