You are not logged in.
I am trying to make custom Archiso with some packages but got an error "duplicate target" on ArchLinux.
I have pasted the output from terminal and also attached images of terminal.
Please help to sort it out.
-`
.o+` kali@arch
`ooo/ OS: Arch Linux
`+oooo: Kernel: x86_64 Linux 5.8.10-arch1-1
`+oooooo: Uptime: 16m
-+oooooo+: Packages: 0
`/:-:++oooo+: Shell: bash 5.0.18
`/++++/+++++++: Resolution: 1360x768
`/++++++++++++++: DE: Xfce4
`/+++ooooooooooooo/` WM: Xfwm4
./ooosssso++osssssso+` WM Theme: Default
.oossssso-````/ossssss+` GTK Theme: Materia-dark [GTK2]
-osssssso. :ssssssso. Icon Theme: Adwaita
:osssssss/ osssso+++. Font: Sans 10
/ossssssss/ +ssssooo/- Disk: 5.0G / 14G (40%)
`/ossssso+/:- -:/+osssso+- CPU: AMD A6-5350M APU with Radeon HD Graphics @ 2x 2.895GHz
`+sso+:-` `.-/+oso: GPU: InnoTek Systemberatung GmbH VirtualBox Graphics Adapter
`++:. `-/+/ RAM: 751MiB / 1971MiB
.` `/
[kali@arch archlive]$ sudo mkarchiso -v -w -o /home/kali/archlive/
[mkarchiso] INFO: mkarchiso configuration settings
[mkarchiso] INFO: Command: /home/kali/archlive/
[mkarchiso] INFO: Architecture: x86_64
[mkarchiso] INFO: Working directory: /home/kali/archlive/-o
[mkarchiso] INFO: Installation directory: arch
[mkarchiso] INFO: Output directory: out
[mkarchiso] INFO: GPG key: None
[mkarchiso] INFO: Profile: /home/kali/archlive
[mkarchiso] INFO: Pacman configuration file: /home/kali/archlive/pacman.conf
[mkarchiso] INFO: Image file name: archlinux-2020.09.20-x86_64.iso
[mkarchiso] INFO: ISO volume label: ARCH_202009
[mkarchiso] INFO: ISO publisher: Arch Linux <https://www.archlinux.org>
[mkarchiso] INFO: ISO application: Arch Linux Live/Rescue CD
[mkarchiso] INFO: Boot modes: bios.syslinux.mbr bios.syslinux.eltorito uefi-x64.systemd-boot.esp uefi-x64.systemd-boot.eltorito
[mkarchiso] INFO: Packages: blackarch-wireless blackarch-networking amd-ucode arch-install-scripts base bind-tools broadcom-wl btrfs-progs clonezilla crda darkhttpd ddrescue dhclient
.
.
.
.
Enter a selection (default=all):
:: There are 2 providers available for bind-tools:
:: Repository extra
1) bind
:: Repository blackarch
2) bind
Enter a number (default=1):
error: 'bind': duplicate target
:: There are 2 providers available for dnsutils:
:: Repository extra
1) bind
:: Repository blackarch
2) bind
Enter a number (default=1):
error: 'bind': duplicate target
error: 'tcpdump': duplicate target
==> ERROR: Failed to install packages to new roothttps://imgur.com/JzfRK79.png
https://imgur.com/GSPLxbD.png
https://imgur.com/3T7hOnP.png
https://imgur.com/0IeFo61.png
https://imgur.com/memSA2K.png
Mod Edit - Replaced oversized images with links.
CoC - Pasting pictures and code
Last edited by Slithery (2020-09-20 13:48:45)
Offline
This looks more like a blackarch system than an Arch system.
Offline
Offline
This looks more like a blackarch system than an Arch system.
But this is Arch Linux not BlackArch
I am trying to make custom ISO with Arch Base and some Penetration Testing Software & Tools.
And got this error because some tools are available in both Repositories.
Offline
Yes I was doing that before with Arcolinux but moderator deleted my post and said it was Arcolinux but this time it is ArchLinux
Offline
Then why did you add the arcolinux and blackarch repositories to you new installation before trying to make the ISO?
Offline
Then why did you add the arcolinux and blackarch repositories to you new installation before trying to make the ISO?
Because I want some tools from both Repositories.
Offline
Seems pretty clear that the OP is lying to us.
Anyway, yeah, blackarch fucks a lot of things up. This isn't news to anyone.
Offline
Please post the link produced by:
cat /var/log/pacman.log |& curl -F 'f:1=<-' ix.ioOffline
Please post the link produced by:
cat /var/log/pacman.log |& curl -F 'f:1=<-' ix.io
Sure In just a minute
Last edited by 36Flash (2020-09-20 13:12:17)
Offline
Please post the link produced by:
cat /var/log/pacman.log |& curl -F 'f:1=<-' ix.io
[kali@arch ~]$ cat /var/log/pacman.log |& curl -F 'f:1=<-' ix.io
http://ix.io/2ycGOffline
Copy the packages you need from blackarch to a Custom_local_repository then disable the blackarch repositories while building the ISO.
Edit:
Please also see Code_of_conduct#Pasting_pictures_and_code.
Last edited by loqs (2020-09-20 13:42:32)
Offline
Copy the packages you need from blackarch to a Custom_local_repository then disable the blackarch repositories while building the ISO.
Edit:
Please also see Code_of_conduct#Pasting_pictures_and_code.
nice, then how we will get blackarch repo enabled in live iso to install more tools. isn't it possible to put both in the iso?
Offline
sp22 can you can create a package list that does not create a duplicate target error with the repositories enabled?
Offline
nice, then how we will get blackarch repo enabled in live iso to install more tools. isn't it possible to put both in the iso?
Isn’t it better to make a custom AUR repo and build what you want rather than including an external repo that’s broken?
What is the difference with ${spinoff} repo?
Last edited by GaKu999 (2020-09-20 14:12:03)
Offline
sp22 wrote:nice, then how we will get blackarch repo enabled in live iso to install more tools. isn't it possible to put both in the iso?
Isn’t it better to make a custom AUR repo and build what you want rather than including an external repo that’s broken?
What is the difference with ${spinoff} repo?
well, I can try that as well, but when it comes to updates, it would be a lot of work to update such a big AUR repo or if there would be a possible way to automate this process.
Offline
If the number of packages used from the arch repositories is less than the black repositories you could package those instead.
Edit:
Or edit archiso https://gitlab.archlinux.org/archlinux/ … chiso#L205 and add -i to make it interactive.
Last edited by loqs (2020-09-20 14:41:45)
Offline
sp22 can you can create a package list that does not create a duplicate target error with the repositories enabled?
I know there are always multiple ways to do something, but I want the flexibility to install tools from blackarch repo as we already know that AUR repos made by someone we don't know are something that we can't trust forever.
Offline
If the number of packages used from the arch repositories is less than the black repositories you could package those instead.
Edit:
Or edit archiso https://gitlab.archlinux.org/archlinux/ … chiso#L205 and add -i to make it interactive.
Thanks, I can try this.
Offline
If the number of packages used from the arch repositories is less than the black repositories you could package those instead.
Edit:
Or edit archiso https://gitlab.archlinux.org/archlinux/ … chiso#L205 and add -i to make it interactive.
Thanks for reply I will try and let you know.
Offline