Author Topic: what's "sce-import -l" meaning?  (Read 2343 times)

Offline krooooo

  • Jr. Member
  • **
  • Posts: 66
what's "sce-import -l" meaning?
« on: December 27, 2015, 03:17:29 PM »
Hi

If exec "sce-import -h" we may see "sce-import -l to use a file list of packages - 'sce-import -l FILENAME' " , what's this meaning? Is this meaning we may build a "custom sce" file with specified packages?? But I tried to exec "sce-import -l A.txt" which A.txt is contain:
Code: [Select]
adduser_3.113+nmu3ubuntu3_all.deb arj_3.10.22-11_i386.deb base-passwd_3.5.33_i386.deb busybox-initramfs_1.21.0-1ubuntu1_i386.deb bzip2_1.0.6-5_i386.deb consolekit_0.4.5-3.1ubuntu2_i386.deb coreutils_8.21-1ubuntu5.1_i386.deb cpio_2.11+dfsg-1ubuntu1.1_i386.deb cpp-4.8_4.8.2-19ubuntu1_i386.deb cpp_4.8.2-1ubuntu6_i386.deb crda_1.1.2-1ubuntu2_i386.deb dbus_1.6.18-0ubuntu4.3_i386.deb dconf-gsettings-backend_0.20.0-1_i386.deb dconf-service_0.20.0-1_i386.deb debconf_1.5.51ubuntu2_all.deb debianutils_4.4_i386.deb debugedit_4.11.1-3ubuntu0.1_i386.deb dh-python_1.20140128-1ubuntu8_all.deb dmidecode_2.12-2_i386.deb dpkg_1.17.5ubuntu5.5_i386.deb extlinux_4.05+dfsg-6+deb8u1_i386.deb findutils_4.4.2-7_i386.deb firmware-linux-free.tar.gz firmware-linux-nonfree.tar.gz fltk-1.1.10.tar.gz fontconfig-config_2.11.0-0ubuntu4_all.deb fontconfig_2.11.0-0ubuntu4_i386.deb fonts-dejavu-core_2.34-1ubuntu1_all.deb gcc-4.8-base_4.8.2-19ubuntu1_i386.deb gcc-4.9-base_4.9-20140406-0ubuntu1_i386.deb gpicview_0.2.4-1_i386.deb grep_2.16-1_i386.deb gsettings-desktop-schemas_3.10.1-0ubuntu1_all.deb gzip_1.6-3ubuntu1_i386.deb hicolor-icon-theme_0.13-1_all.deb hsetroot_1.0.2-5_i386.deb ifupdown_0.7.47.2ubuntu4_i386.deb initramfs-tools-bin_0.103ubuntu4_i386.deb initramfs-tools_0.103ubuntu4_all.deb initscripts_2.88dsf-41ubuntu6_i386.deb insserv_1.14.0-5ubuntu2_i386.deb iproute2_3.12.0-2_i386.deb keyboard-configuration_1.70ubuntu8_all.deb klibc-utils_2.0.3-0ubuntu1_i386.deb kmod_15-0ubuntu6_i386.deb laptop-detect_0.13.7ubuntu2_i386.deb leafpad_0.8.18.1-4_i386.deb libacl1_2.2.52-1_i386.deb libapparmor1_2.8.95~2430-0ubuntu5.1_i386.deb libasound2-data_1.0.27.2-3ubuntu7_all.deb libasound2_1.0.27.2-3ubuntu7_i386.deb libatk1.0-0_2.10.0-2ubuntu2_i386.deb libatk1.0-data_2.10.0-2ubuntu2_all.deb libatk-bridge2.0-0_2.10.2-2ubuntu1_i386.deb libatkmm-1.6-1_2.22.7-2ubuntu1_i386.deb libatspi2.0-0_2.10.2.is.2.10.1-0ubuntu1_i386.deb libattr1_2.4.47-1ubuntu1_i386.deb libaudit1_2.3.2-2ubuntu1_i386.deb libaudit-common_2.3.2-2ubuntu1_all.deb libavahi-client3_0.6.31-4ubuntu1_i386.deb libavahi-common3_0.6.31-4ubuntu1_i386.deb libavahi-common-data_0.6.31-4ubuntu1_i386.deb libblkid1_2.20.1-5.1ubuntu20_i386.deb libbz2-1.0_1.0.6-5_i386.deb libc6_2.19-0ubuntu6.6_i386.deb libcairo2_1.13.0~20140204-0ubuntu1_i386.deb libcairo-gobject2_1.13.0~20140204-0ubuntu1_i386.deb libcairomm-1.0-1_1.10.0-1ubuntu3_i386.deb libcap2_2.24-0ubuntu2_i386.deb libcgmanager0_0.24-0ubuntu7.1_i386.deb libck-connector0_0.4.5-3.1ubuntu2_i386.deb libcloog-isl4_0.18.2-1_i386.deb libcolord1_1.0.6-1_i386.deb libcomerr2_1.42.9-3ubuntu1.2_i386.deb libcroco3_0.6.8-2ubuntu1_i386.deb libcups2_1.7.2-0ubuntu1.7_i386.deb libdatrie1_0.2.8-1_i386.deb libdb5.3_5.3.28-3ubuntu3_i386.deb libdbus-1-3_1.6.18-0ubuntu4.3_i386.deb libdbus-glib-1-2_0.100.2-1_i386.deb libdconf1_0.20.0-1_i386.deb libdebconfclient0_0.187ubuntu1_i386.deb libdrm2_2.4.56-1~ubuntu2_i386.deb libdrm-intel1_2.4.56-1~ubuntu2_i386.deb libdrm-nouveau2_2.4.56-1~ubuntu2_i386.deb libdrm-radeon1_2.4.56-1~ubuntu2_i386.deb libdumbnet1_1.12-4build1_i386.deb libegl1-mesa_10.1.0-4ubuntu5_i386.deb libelf1_0.158-0ubuntu5.2_i386.deb libexif12_0.6.21-1ubuntu1_i386.deb libexpat1_2.1.0-4ubuntu1.1_i386.deb libffi6_3.1~rc1+r3.0.13-12_i386.deb libfm4_1.2.0-1ubuntu2_i386.deb libfm-data_1.2.0-1ubuntu2_all.deb libfm-gtk4_1.2.0-1ubuntu2_i386.deb libfm-gtk-data_1.2.0-1ubuntu2_all.deb libfontconfig1_2.11.0-0ubuntu4_i386.deb libfontenc1_1.1.2-1_i386.deb libfreetype6_2.5.2-1ubuntu2.5_i386.deb libfs6_1.0.5-1_i386.deb libfuse2_2.9.2-4ubuntu4.14.04.1_i386.deb libgbm1_10.1.0-4ubuntu5_i386.deb libgcc1_4.9-20140406-0ubuntu1_i386.deb libgcrypt11_1.5.3-2ubuntu4.2_i386.deb libgdbm3_1.8.3-12build1_i386.deb libgdk-pixbuf2.0-0_2.30.7-0ubuntu1.2_i386.deb libgdk-pixbuf2.0-common_2.30.7-0ubuntu1.2_all.deb libgif4_4.1.6-11_i386.deb libgl1-mesa-dri_10.1.0-4ubuntu5_i386.deb libgl1-mesa-glx_10.1.0-4ubuntu5_i386.deb libglamor0_0.6.0-0ubuntu4_i386.deb libglapi-mesa_10.1.0-4ubuntu5_i386.deb libglib2.0-0_2.40.0-2_i386.deb libglibmm-2.4-1c2a_2.39.93-0ubuntu1_i386.deb libglu1-mesa_9.0.0-2_i386.deb libgmp10_5.1.3+dfsg-1ubuntu1_i386.deb libgnutls26_2.12.23-12ubuntu2.3_i386.deb libgpg-error0_1.12-0.2ubuntu1_i386.deb libgraphite2-3_1.2.4-1ubuntu1_i386.deb libgssapi-krb5-2_1.12+dfsg-2ubuntu5.2_i386.deb libgtk2.0-0_2.24.23-0ubuntu1_i386.deb libgtk2.0-common_2.24.23-0ubuntu1_all.deb libgtk-3-0_3.10.8-0ubuntu1.4_i386.deb libgtk-3-common_3.10.8-0ubuntu1.4_all.deb libgtkmm-2.4-1c2a_2.24.4-1ubuntu1_i386.deb libharfbuzz0b_0.9.27-1_i386.deb libice6_1.0.8-2_i386.deb libicu52_52.1-3ubuntu0.4_i386.deb libid3tag0_0.15.1b-10ubuntu1_i386.deb libimlib2_1.4.6-2_i386.deb libisl10_0.12.2-1_i386.deb libiw30_30~pre9-8ubuntu1_i386.deb libjasper1_1.900.1-14ubuntu3.2_i386.deb libjbig0_2.0-2ubuntu4.1_i386.deb libjpeg8_8c-2ubuntu8_i386.deb libjpeg62_6b1-4ubuntu1_i386.deb libjpeg-turbo8_1.3.0-0ubuntu2_i386.deb libjson0_0.11-3ubuntu1.2_i386.deb libjson-c2_0.11-3ubuntu1.2_i386.deb libk5crypto3_1.12+dfsg-2ubuntu5.2_i386.deb libkeyutils1_1.5.6-1_i386.deb libklibc_2.0.3-0ubuntu1_i386.deb libkmod2_15-0ubuntu6_i386.deb libkrb5-3_1.12+dfsg-2ubuntu5.2_i386.deb libkrb5support0_1.12+dfsg-2ubuntu5.2_i386.deb liblcms2-2_2.5-0ubuntu4_i386.deb libllvm3.4_3.4-1ubuntu3_i386.deb liblocale-gettext-perl_1.05-7build3_i386.deb liblua5.2-0_5.2.3-1_i386.deb liblzma5_5.1.1alpha+20120614-2ubuntu2_i386.deb libmagic1_5.14-2ubuntu3.3_i386.deb libmenu-cache3_0.5.1-1ubuntu1_i386.deb libmenu-cache-bin_0.5.1-1ubuntu1_i386.deb libmount1_2.20.1-5.1ubuntu20_i386.deb libmpc3_1.0.1-1ubuntu1_i386.deb libmpdec2_2.4.0-6_i386.deb libmpfr4_3.1.2-1_i386.deb libmtdev1_1.1.4-1ubuntu1_i386.deb libncurses5_5.9+20140118-1ubuntu1_i386.deb libncursesw5_5.9+20140118-1ubuntu1_i386.deb libnih1_1.0.3-4ubuntu25_i386.deb libnih-dbus1_1.0.3-4ubuntu25_i386.deb libnl-3-200_3.2.21-1_i386.deb libnl-genl-3-200_3.2.21-1_i386.deb libnspr4_4.10.10-0ubuntu0.14.04.1_i386.deb libnss3-nssdb_3.19.2.1-0ubuntu0.14.04.1_all.deb libnss3_3.19.2.1-0ubuntu0.14.04.1_i386.deb libobrender29_3.5.2-6_i386.deb libobt2_3.5.2-6_i386.deb libp11-kit0_0.20.2-2ubuntu2_i386.deb libpam0g_1.1.8-1ubuntu2_i386.deb libpam-modules-data.tar.gz libpam-modules_1.1.8-1ubuntu2_i386.deb libpango1.0-0_1.36.3-1ubuntu1_i386.deb libpango-1.0-0_1.36.3-1ubuntu1_i386.deb libpangocairo-1.0-0_1.36.3-1ubuntu1_i386.deb libpangoft2-1.0-0_1.36.3-1ubuntu1_i386.deb libpangomm-1.4-1_2.34.0-1ubuntu1_i386.deb libpangox-1.0-0_0.0.2-4ubuntu1_i386.deb libpangoxft-1.0-0_1.36.3-1ubuntu1_i386.deb libpciaccess0_0.13.2-1_i386.deb libpcre3_8.31-2ubuntu2.1_i386.deb libpixman-1-0_0.30.2-2ubuntu1_i386.deb libplymouth2_0.8.8-0ubuntu17_i386.deb libpng12-0_1.2.50-1ubuntu2.14.04.1_i386.deb libpolkit-agent-1-0_0.105-4ubuntu2_i386.deb libpolkit-gobject-1-0_0.105-4ubuntu2_i386.deb libpopt0_1.16-8ubuntu1_i386.deb libprocps3_3.3.9-1ubuntu2_i386.deb libpython3.4-minimal_3.4.0-2ubuntu1.1_i386.deb libpython3.4-stdlib_3.4.0-2ubuntu1.1_i386.deb libpython3-stdlib_3.4.0-0ubuntu2_i386.deb libreadline6_6.3-4ubuntu2_i386.deb librpm3_4.11.1-3ubuntu0.1_i386.deb librpmbuild3_4.11.1-3ubuntu0.1_i386.deb librpmio3_4.11.1-3ubuntu0.1_i386.deb librpmsign1_4.11.1-3ubuntu0.1_i386.deb librsvg2-2_2.40.2-1_i386.deb libselinux1_2.2.2-1_i386.deb libsemanage1_2.2-1_i386.deb libsemanage-common_2.2-1_all.deb libsepol1_2.2-1_i386.deb libsigc++-2.0-0c2a_2.2.10-0.2ubuntu2_i386.deb libslang2_2.2.4-15ubuntu1_i386.deb libsm6_1.2.1-2_i386.deb libsqlite3-0_3.8.2-1ubuntu2.1_i386.deb libssl1.0.0_1.0.1f-1ubuntu2.16_i386.deb libstartup-notification0_0.12-3ubuntu1_i386.deb libstdc++6_4.8.2-19ubuntu1_i386.deb libsystemd-login0_204-5ubuntu20_i386.deb libtasn1-6_3.4-3ubuntu0.3_i386.deb libthai0_0.1.20-3_i386.deb libthai-data_0.1.20-3_all.deb libtiff5_4.0.3-7ubuntu0.3_i386.deb libtinfo5_5.9+20140118-1ubuntu1_i386.deb libudev1_204-5ubuntu20_i386.deb libustr-1.0-1_1.0.4-3ubuntu2_i386.deb libutempter0_1.1.5-4build1_i386.deb libuuid1_2.20.1-5.1ubuntu20_i386.deb libvte9_0.28.2-5ubuntu1_i386.deb libvte-common_0.28.2-5ubuntu1_all.deb libwayland-client0_1.4.0-1ubuntu1_i386.deb libwayland-cursor0_1.4.0-1ubuntu1_i386.deb libwayland-server0_1.4.0-1ubuntu1_i386.deb libwnck22_2.30.7-0ubuntu4_i386.deb libwnck-common_2.30.7-0ubuntu4_all.deb libx11-6_1.6.2-1ubuntu2_i386.deb libx11-data_1.6.2-1ubuntu2_all.deb libx11-xcb1_1.6.2-1ubuntu2_i386.deb libxatracker2_10.1.0-4ubuntu5_i386.deb libxau6_1.0.8-1_i386.deb libxaw7_1.0.12-1_i386.deb libxcb1_1.10-2ubuntu1_i386.deb libxcb-dri2-0_1.10-2ubuntu1_i386.deb libxcb-dri3-0_1.10-2ubuntu1_i386.deb libxcb-glx0_1.10-2ubuntu1_i386.deb libxcb-present0_1.10-2ubuntu1_i386.deb libxcb-render0_1.10-2ubuntu1_i386.deb libxcb-shape0_1.10-2ubuntu1_i386.deb libxcb-shm0_1.10-2ubuntu1_i386.deb libxcb-sync1_1.10-2ubuntu1_i386.deb libxcb-util0_0.3.8-2ubuntu1_i386.deb libxcb-xfixes0_1.10-2ubuntu1_i386.deb libxcomposite1_0.4.4-1_i386.deb libxcursor1_1.1.14-1_i386.deb libxdamage1_1.1.4-1ubuntu1_i386.deb libxdmcp6_1.1.1-1_i386.deb libxext6_1.3.2-1ubuntu0.0.14.04.1_i386.deb libxfixes3_5.0.1-1ubuntu1.1_i386.deb libxfont1_1.4.7-1ubuntu0.2_i386.deb libxft2_2.3.1-2_i386.deb libxi6_1.7.1.901-1ubuntu1.1_i386.deb libxinerama1_1.1.3-1_i386.deb libxkbcommon0_0.4.1-0ubuntu1_i386.deb libxkbfile1_1.0.8-1_i386.deb libxml2_2.9.1+dfsg1-3ubuntu4.6_i386.deb libxmu6_1.1.1-1_i386.deb libxmuu1_1.1.1-1_i386.deb libxpm4_3.5.10-1_i386.deb libxrandr2_1.4.2-1_i386.deb libxrender1_0.9.8-1build0.14.04.1_i386.deb libxres1_1.0.7-1_i386.deb libxshmfence1_1.1-2_i386.deb libxt6_1.1.4-1_i386.deb libxtst6_1.2.2-1_i386.deb libxv1_1.0.10-1_i386.deb libxvmc1_1.0.8-1ubuntu1_i386.deb libxxf86dga1_1.1.4-1_i386.deb libxxf86vm1_1.1.3-1_i386.deb login_4.1.5.1-1ubuntu9_i386.deb lsb-base_4.1+Debian11ubuntu6_all.deb lsb-release_4.1+Debian11ubuntu6_all.deb lxappearance_0.5.5-1_i386.deb lxde-common_0.5.0-4ubuntu4_all.deb lxde-core_0.5.0-4ubuntu4_all.deb lxde-data.tar.gz lxde-icon-theme_0.5.0-1_all.deb lxde_0.5.0-4ubuntu4_all.deb lxinput_0.3.2-1_i386.deb lxmenu-data_0.1.2-2_all.deb lxpanel_0.6.1-0ubuntu3_i386.deb lxrandr_0.1.2-3_i386.deb lxsession-data_0.4.9.2+git20140410-0ubuntu1_all.deb lxsession-edit_0.4.9.2+git20140410-0ubuntu1_i386.deb lxsession-logout_0.4.9.2+git20140410-0ubuntu1_i386.deb lxsession_0.4.9.2+git20140410-0ubuntu1_i386.deb lxshortcut_1.2.0-1ubuntu2_i386.deb lxterminal_0.1.11-4ubuntu3_i386.deb makedev_2.3.1-93ubuntu1_all.deb mime-support_3.54ubuntu1.1_all.deb module-init-tools_15-0ubuntu6_all.deb mount_2.20.1-5.1ubuntu20_i386.deb mountall_2.53_i386.deb ncurses-base_5.9+20140118-1ubuntu1_all.deb netbase_5.2_all.deb obconf_2.0.4+git20130908-2_i386.deb open-vm-tools-desktop_9.4.0-1280544-5ubuntu6_i386.deb open-vm-tools_9.4.0-1280544-5ubuntu6_i386.deb openbox-data.tar.gz openbox_3.5.2-6_i386.deb p7zip-full_9.20.1~dfsg.1-4+deb7u1build0.14.04.1_i386.deb passwd_4.1.5.1-1ubuntu9_i386.deb pcmanfm_1.2.0-1_i386.deb perl-base_5.18.2-2ubuntu1_i386.deb perl-modules_5.18.2-2ubuntu1_all.deb perl_5.18.2-2ubuntu1_i386.deb plymouth_0.8.8-0ubuntu17_i386.deb procps_3.3.9-1ubuntu2_i386.deb python3.4-minimal_3.4.0-2ubuntu1.1_i386.deb python3.4_3.4.0-2ubuntu1.1_i386.deb python3-minimal_3.4.0-0ubuntu2_i386.deb python3_3.4.0-0ubuntu2_i386.deb rar_4.2.0-1_i386.deb readline-common_6.3-4ubuntu2_all.deb rpm2cpio_4.11.1-3ubuntu0.1_i386.deb rpm-common_4.11.1-3ubuntu0.1_i386.deb rpm_4.11.1-3ubuntu0.1_i386.deb sensible-utils_0.0.9_all.deb shared-mime-info_1.2-0ubuntu3_i386.deb syslinux-common_4.05+dfsg-6+deb8u1_all.deb sysv-rc_2.88dsf-41ubuntu6_all.deb sysvinit-utils_2.88dsf-41ubuntu6_i386.deb tar_1.27.1-1_i386.deb tzdata_2015g-0ubuntu0.14.04_all.deb ucf_3.0027+nmu1_all.deb udev_204-5ubuntu20_i386.deb unzip_6.0-9ubuntu1.5_i386.deb upstart_1.12.1-0ubuntu4_i386.deb util-linux_2.20.1-5.1ubuntu20_i386.deb wireless-regdb_2013.02.13-1ubuntu1_all.deb x11-apps_7.7+2_i386.deb x11-common_7.7+1ubuntu8_all.deb x11-session-utils_7.7+1_i386.deb x11-utils_7.7+1_i386.deb x11-xfs-utils_7.7+1_i386.deb x11-xkb-utils_7.7+1_i386.deb x11-xserver-utils_7.7+2ubuntu1_i386.deb xarchiver_0.5.2+20130119+dfsg-5_i386.deb xauth_1.0.7-1ubuntu1_i386.deb xbitmaps_1.1.1-2_all.deb xdg-utils_1.1.0~rc1-2ubuntu7_all.deb xfonts-base_1.0.3_all.deb xfonts-encodings_1.0.4-1ubuntu1_all.deb xfonts-utils_7.7+1_i386.deb xinit_1.3.2-1_i386.deb xinput_1.6.1-1_i386.deb xkb-data_2.10.1-1ubuntu1_all.deb xorg-docs-core_1.7-1_all.deb xorg_7.7+1ubuntu8_i386.deb Xprogs.tar.gz xserver-common_1.15.1-0ubuntu2.7_all.deb xserver-xorg-core_1.15.1-0ubuntu2.7_i386.deb xserver-xorg-input-all_7.7+1ubuntu8_i386.deb xserver-xorg-input-evdev_2.8.2-1ubuntu2_i386.deb xserver-xorg-input-mouse_1.9.0-1build1_i386.deb xserver-xorg-input-synaptics_1.7.4-0ubuntu1_i386.deb xserver-xorg-input-vmmouse_13.0.0-1build1_i386.deb xserver-xorg-input-wacom_0.23.0-0ubuntu2_i386.deb xserver-xorg-video-all_7.7+1ubuntu8_i386.deb xserver-xorg-video-vmware_13.0.2-2ubuntu1_i386.deb xserver-xorg_7.7+1ubuntu8_i386.deb Xtc.tar.gz xterm_297-1ubuntu1_i386.deb zip_3.0-8_i386.deb zlib1g_1.2.8.dfsg-1ubuntu1_i386.deb to get a A.txt.sce which filesize only 4.0 KiB, It must be wrong

how to use "sce-import -l" or how to make a custom sce??

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Re: what's "sce-import -l" meaning?
« Reply #1 on: December 27, 2015, 05:34:39 PM »
I'm working on updated --help files, including  sce-import -l  . Never used it but this is my understanding, let me know if these instructions work and are intuitive enough. Believe the list file needs to include one DEB per line, not space seperated same line. Also doubt it needs '.txt', more of a wndows thing. Thanks.

'sce-import -l FILENAME' import a package list into an SCE mega-extension,
                                  a plain text file that lists one DEB per line.

Edit: Wasn't initially able to see your full list in Dillo, may want to test with only 2-3 DEB files.
« Last Edit: December 27, 2015, 05:47:49 PM by nitram »

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: what's "sce-import -l" meaning?
« Reply #2 on: December 27, 2015, 08:13:14 PM »
"sce-import -l" uses a list file, a file that is a list of packages to be imported.  Can be debs or prebuilt.  Not meant to use full path of debs, but rather package names.

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Re: what's "sce-import -l" meaning?
« Reply #3 on: December 27, 2015, 08:32:14 PM »
Hi Jason. Please clarify, the list should be:
Code: [Select]
adduser_3.113+nmu3ubuntu3_all
arj_3.10.22-11_i386
base-passwd_3.5.33_i386

Not:
Code: [Select]
adduser_3.113+nmu3ubuntu3_all.deb
arj_3.10.22-11_i386.deb
base-passwd_3.5.33_i386.deb

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: what's "sce-import -l" meaning?
« Reply #4 on: December 27, 2015, 08:40:12 PM »
Should be:


Code: [Select]
adduser
arj
base-passwd

Never need to specify the full path deb names.  IE in Debian/Ubuntu the name before the underscore in the .deb name.  dCore takes care of the rest.


Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Re: what's "sce-import -l" meaning?
« Reply #5 on: December 27, 2015, 08:41:28 PM »
Ok, now understood, quite a revelation, thanks.

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: what's "sce-import -l" meaning?
« Reply #6 on: December 27, 2015, 08:48:11 PM »
This also applies to prebuilt packges, simply the package name, IE emelfm2.

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
Re: what's "sce-import -l" meaning?
« Reply #7 on: December 28, 2015, 01:07:56 AM »
The text file name should end with .sce.lst
dCore user

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Re: what's "sce-import -l" meaning?
« Reply #8 on: December 28, 2015, 10:28:27 AM »
This is much more complicated than at first glance. Updated draft  sce-import --help  below. Please review Jason W and/or jls_legalize, any more devils in the details? Also, does the *.sce.lst file need to be placed in /tce/sce before running import? Trying to stay away from specific package names, but sce-import is quite a bit more complex.

Code: [Select]
sce-import - search, convert, install DEB and pre-built packages as local SCEs,
             use simple DEB and pre-built package names, example 'emelfm' not
             'emelfm.tar.gz', 'nano' not 'nano_2.2.6-3_i386.deb', may use
             some option combinations, example 'sce-import -zbrs nano'.

Usage:
'sce-import'             prompts for starting characters of package sought.
'sce-import PKG'         search packages that start with desired package name.
'sce-import -c PKG'      search packages that contain desired package name.
'sce-import -l FILENAME' create an SCE mega-extension from an *.sce.lst file,
                         a plain text file that lists one package per line,
                         may include both DEB and pre-built packages.
'sce-import -b'          add resulting SCE extension to sceboot.lst.
'sce-import -r'          use RAM for unpacking source DEBs.
'sce-import -s'          list sizes of packages to be fetched and installed.
'sce-import -d'          use existing SCE extensions as dependencies.
'sce-import -o'          add resulting SCE extension to ondemand.
'sce-import -n'          non-interactive mode.
'sce-import -u'          (DEFAULT) update mode, sync new debinx files.
'sce-import -p'          use existing debinx, no new fetch, better performance.
'sce-import -v'          see list of packages the imported SCE contains.
'sce-import -z'          use only CLI options, ignore etc/sysconfig/sceconfig.

PS - Don't mean to sidetrack krooooo, figured these details would be helpful to your original post.

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: what's "sce-import -l" meaning?
« Reply #9 on: December 28, 2015, 12:41:45 PM »
sce.lst is the extension of the filename that is created in the SCE directory.  Do not use sce.lst as the name of the list when importing.  And preferably do not create or edit files in the SCE directory.  Using a file list is very simple.  Say you have a list named desktop in your home directory with the below contents:

Code: [Select]
xorg-all
icewm
firefox

You would import it like below

sce-import -l desktop

or

sce-import -l /home/tc/desktop


Using full path is optional unless the file is not in the current directory.  The resulting files would then be in your SCE directory assuming no other options were used:

desktop.sce
desktop.sce.lst
desktop.sce.md5.txt


The desktop.sce.lst file in your SCE directory is an exact copy of /home/tc/desktop.