rtinst icon indicating copy to clipboard operation
rtinst copied to clipboard

Cannot install on debian 9

Open LiberteCzech opened this issue 8 years ago • 17 comments

I have fresh install debian 9.3. It's default config server netinstall.

. .. ... Updating package lists Upgrading packages Installing required packages Problem installing packages. Check log and rerun once it is resolved

LiberteCzech avatar Dec 23 '17 16:12 LiberteCzech

Hi!

I had the same problem when installing rtinst on my fresh ARMBIAN 5.36 user-built Debian GNU/Linux 9 (stretch) 4.13.16-rockchip earlier today. This was partially fixed in version 1.5.4, however, @arakasi72 didn't consider that other builds of Ubuntu/Debian have different URL's in the source list. So I fixed the problem by running the command sudo sed -i "s/\/debian\s/\/debian\/ /g" /etc/apt/sources.list

So @arakasi72, perhaps it's better to change line 267 sed -i "s/http:\/\/ftp\.debian\.org\/debian\s/http:\/\/ftp\.debian\.org\/debian\/ /g" /etc/apt/sources.list in scripts/rtinst to sed -i s/\/debian\s/\/debian\/ /g" /etc/apt/sources.list?

Happy Holidays!

P.S: What a brilliant script you have made, @arakasi72! I've been using it for months on my ASUS Tinker Board running Armbian Ubuntu and it works out of the box! So satisfied:)

MacQwerty avatar Dec 29 '17 00:12 MacQwerty

Thanks. I will try it than I wil time. I want migrate to Debian from Ubuntu :)

LiberteCzech avatar Jan 06 '18 11:01 LiberteCzech

Just installed on 9.3 and only issue I had was I needed to manually install rar. Other then that it works perfectly.

Hemicrusher avatar Jan 11 '18 18:01 Hemicrusher

Made the change @MacQwerty suggests so this fix should now be applied regardless of the mirror in question.

Change is applied in rtinst v1.5.5

arakasi72 avatar Jan 15 '18 18:01 arakasi72

I have still this problem after fresh install Debian 9 and newest 1.5.5 rtinst.

Problem installing packages. Check log and rerun once it is resolved

LiberteCzech avatar Jan 21 '18 13:01 LiberteCzech

Not been able to recreate this issue, you will need to run with the -l option to create a log, and check the log to see specifically what is happening.

arakasi72 avatar Jan 21 '18 18:01 arakasi72

I make

sudo rtinst -l

Where now I find log?

LiberteCzech avatar Jan 21 '18 19:01 LiberteCzech

~/rtinst.log

arakasi72 avatar Jan 22 '18 09:01 arakasi72

/home/user/ ...... I not find rtinst.log

also try find in /

but I am not see rtinst.log

Also try sudo rtinst --log

But not see log.

LiberteCzech avatar Jan 22 '18 09:01 LiberteCzech

There must be problem with any packages can't download or install.

LiberteCzech avatar Jan 22 '18 12:01 LiberteCzech

I manualy download and install rtorrent nginx vsftpd

rtinst log nginx.txt

nginx have any problem vsftpd, and autodl-irssi maybye not in repo and compile it

LiberteCzech avatar Jan 22 '18 12:01 LiberteCzech

I have the same problem on debian 9. checked the rtinst.log "no installation candidat for python-software-properties"

ink0gnito avatar Feb 18 '18 18:02 ink0gnito

Run sudo apt-get install software-properties-common -y to make sure software-properties-common is installed. Software-properties-common package is an alternate to python-software-properties and is used in newer operating systems.

@arakasi72, python-software-properties is primary for Ubuntu <= 12.04, so I think you can remove "python-software-properties" from the package_list= in scripts/rtinst since you have stated that Ubuntu 13 and lower is unsupported

MacQwerty avatar Feb 18 '18 23:02 MacQwerty

You are right I will remove the python one as it is no longer needed. software-properties-common should be installed in any case so this would not be the cause of any issues you might be having.

arakasi72 avatar Feb 18 '18 23:02 arakasi72

The changes are in the master branch? I get still the error when i execute the command "rtinst". Before i have downloaded the latest master.

ink0gnito avatar Feb 19 '18 09:02 ink0gnito

Just installed on 9.3 and only issue I had was I needed to manually install rar. Other then that it works perfectly.

This was the issue I faced too. Do you have to install rar/unrar in any special way to work well with this script? Where did you install it to?

everfang avatar Jan 18 '19 03:01 everfang

Problem installing packages. Check log and rerun once it is resolved

so I went to log I found this

Processing triggers for libc-bin (2.24-11+deb9u4) ... Processing triggers for initramfs-tools (0.130) ... update-initramfs: Generating /boot/initrd.img-4.15.18-13-pve W: mdadm: /etc/mdadm/mdadm.conf defines no arrays. Reading package lists... Building dependency tree... Reading state information... Installing required packages E: Unable to correct problems, you have held broken packages.

E: Unable to correct problems, you have held broken packages. so how should I know how to fix which broken packages? rar unrar already installed

lowprofileusername avatar May 05 '19 11:05 lowprofileusername