একটি যুক্ত রেপো থেকে একটি ব্যর্থ আর ইনস্টলেশন শেষে নিরাপদে সাফ করুন get


9

আমি একটি প্যাকেজ ইনস্টল করার চেষ্টা করেছি, যা ব্যর্থ হয়েছে। এখন যে কোনও সময় আমি অ্যাপটি-গেট ব্যবহার করি, আমি dpkg- ত্রুটির একটি দীর্ঘ তালিকা পাই। আমি চেষ্টা করার চেষ্টা করেছি apt-get autoremove, কিন্তু আমি একই ত্রুটি খুঁজে পেয়েছি। এই জগাখিচুড়ি পরিষ্কার করার কোনও নিরাপদ উপায় আছে কি?

(py3) ilia@arriam-lab2-cpu:~$ sudo apt-get autoremove
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
20 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up r-base-core (3.3.2-1trusty0) ...
Preserving user changes to /usr/share/bash-completion/completions/R (renamed from /etc/bash_completion.d/R)...
mv: cannot stat ‘/usr/share/bash-completion/completions/R’: No such file or directory
dpkg: error processing package r-base-core (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of r-cran-boot:
 r-cran-boot depends on r-base-core (>= 3.2.1-2trusty0); however:
  Package r-base-core is not configured yet.
 r-cran-boot depends on r-api-3; however:
  Package r-api-3 is not installed.
  Package r-base-core which provides r-api-3 is not configured yet.

dpkg: error processing package r-cran-boot (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of r-cran-cluster:
 r-cran-cluster depends on r-base-core (>= 3.3.1-1trusty0); however:
  Package r-base-core is not configured yet.
 r-cran-cluster depends on r-api-3; however:
  Package r-api-3 is not installed.
  Package r-base-core which provides r-api-3 is not configured yet.

dpkg: error processing package r-cran-cluster (--configure):
 dependency problems - leaving unconfigured
dpkg: depeNo apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                                    No apport report written because the error message indicates its a followup error from a previous failure.
                                                            No apport report written because MaxReports is reached already
                                                                                                                          No apport report written because MaxReports is reached already
                      No apport report written because MaxReports is reached already
                                                                                    No apport report written because MaxReports is reached already
                                                                                                                                                  No apport report written because MaxReports is reached already
                                              No apport report written because MaxReports is reached already
                                                                                                            No apport report written because MaxReports is reached already
        No apport report written because MaxReports is reached already
                                                                      No apport report written because MaxReports is reached already
                                                                                                                                    No apport report written because MaxReports is reached already
                                ndency problems prevent configuration of r-cran-foreign:
 r-cran-foreign depends on r-base-core (>= 3.3.1-1trusty0); however:
  Package r-base-core is not configured yet.
 r-cran-foreign depends on r-api-3; however:
  Package r-api-3 is not installed.
  Package r-base-core which provides r-api-3 is not configured yet.

dpkg: error processing package r-cran-foreign (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of r-cran-mass:
 r-cran-mass depends on r-base-core (>= 3.2.2-1trusty0); however:
  Package r-base-core is not configured yet.
 r-cran-mass depends on r-api-3; however:
  Package r-api-3 is not installed.
  Package r-base-core which provides r-api-3 is not configured yet.

dpkg: error processing package r-cran-mass (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of r-cran-kernsmooth:
 r-cran-kernsmooth depends on r-base-core (>= 3.3.1-1trusty0); however:
  Package r-No apport report written because MaxReports is reached already
                                                                          No apport report written because MaxReports is reached already
                                                                                                                                        No apport report written because MaxReports is reached already
                                    No apport report written because MaxReports is reached already
                                                                                                  No apport report written because MaxReports is reached already
                                                                                                                                                                No apport report written because MaxReports is reached already
                                                            No apport report written because MaxReports is reached already
                                                                                                                          base-core is not configured yet.
 r-cran-kernsmooth depends on r-api-3; however:
  Package r-api-3 is not installed.
  Package r-base-core which provides r-api-3 is not configured yet.
 r-cran-kernsmooth depends on r-cran-mass; however:
  Package r-cran-mass is not configured yet.

dpkg: error processing package r-cran-kernsmooth (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of r-cran-lattice:
 r-cran-lattice depends on r-base-core (>= 3.3.1-1trusty0); however:
  Package r-base-core is not configured yet.
 r-cran-lattice depends on r-api-3; however:
  Package r-api-3 is not installed.
  Package r-base-core which provides r-api-3 is not configured yet.

dpkg: error processing package r-cran-lattice (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of r-cran-nlme:
 r-cran-nlme depends on r-base-core (>= 3.3.1-1trusty0); however:
  Package r-base-core is not configured yet.
 r-cran-nlme depends on r-api-3; however:
  Package r-api-3 is not installed.
  Package r-base-core which provides r-api-3 is not configured yet.
 r-cran-nlme depends on r-cran-lattice (>= 0.12-11.1); however:
  Package r-cran-lattice is not configured yet.

dpkg: error processing package r-cran-nlme (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of r-cran-matrix:
 r-cran-matrix depends on r-base-core (>= 3.3.1-1trusty0); however:
  Package r-base-core is not configured yet.
 r-cran-matrix depends on r-api-3; however:
  Package r-api-3 is not installed.
  Package r-base-core which provides r-api-3 is not configured yet.
 r-cran-matrix depends on r-cran-lattice (>= 0.12-11.1); however:
  Package r-cran-lattice is not configured yet.

dpkg: error processing package r-cran-matrix (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of r-cran-mgcv:
 r-cran-mgcv depends on r-base-core; however:
  Package r-base-core is not configured yet.
 r-cran-mgcv depends on r-cran-nlme; however:
  Package r-cran-nlme is not configured yet.
 r-cran-mgcv depends on r-cran-matrix; however:
  Package r-cran-matrix is not configured yet.

dpkg: error processing package r-cran-mgcv (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of r-cran-survival:
 r-cran-survival depends on r-base-core (>= 3.3.1-1trusty0); however:
  Package r-base-core is not configured yet.
 r-cran-survival depends on r-api-3; however:
  Package r-api-3 is not installed.
  Package r-base-core which provides r-api-3 is not configured yet.
 r-cran-survival depends on r-cran-matrix; however:
  Package r-cran-matrix is not configured yet.

dpkg: error processing package r-cran-survival (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of r-cran-rpart:
 r-cran-rpart depends on r-base-core (>= 3.2.1-2trusty0); however:
  Package r-base-core is not configured yet.
 r-cran-rpart depends on r-api-3; however:
  Package r-api-3 is not installed.
  Package r-base-core which provides r-api-3 is not configured yet.
 r-cran-rpart depends on r-cran-survival; however:
  Package r-cran-survival is not configured yet.

dpkg: error processing package r-cran-rpart (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of r-cran-class:
 r-cran-class depends on r-base-core (>= 3.2.2-1trusty0); however:
  Package r-base-core is not configured yet.
 r-cran-class depends on r-api-3; however:
  Package r-api-3 is not installed.
  Package r-base-core which provides r-api-3 is not configured yet.
 r-cran-class depends on r-cran-mass; however:
  Package r-cran-mass is not configured yet.

dpkg: error processing package r-cran-class (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of r-cran-nnet:
 r-cran-nnet depends on r-base-core (>= 3.2.3-4trusty0); however:
  Package r-base-core is not configured yet.
 r-cran-nnet depends on r-api-3; however:
  Package r-api-3 is not installed.
  Package r-base-core which provides r-api-3 is not configured yet.

dpkg: error processing package r-cran-nnet (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of r-cran-spatial:
 r-cran-spatial depends on r-base-core (>= 3.2.2-1trusty0); however:
  Package r-base-core is not configured yet.
 r-cran-spatial depends on r-api-3; however:
  Package r-api-3 is not installed.
  Package r-base-core which provides r-api-3 is not configured yet.

dpkg: error processing package r-cran-spatial (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of r-cran-codetools:
 r-cran-codetools depends on r-base-core; however:
  Package r-base-core is not configured yet.

dpkg: error processing package r-cran-codetools (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of r-recommended:
 r-recommended depends on r-base-core (>= 3.3.2-1trusty0); however:
  Package r-base-core is not configured yet.
 r-recommended depends on r-cran-boot (>= 1.2.19); however:
  Package r-cran-boot is not configured yet.
 r-recommended depends on r-cran-cluster (>= 1.9.6-2); however:
  Package r-cran-cluster is not configured yet.
 r-recommended depends on r-cran-foreign (>= 0.7-2); however:
  Package r-cran-foreign is not configured yet.
 r-recommended depends on r-cran-kernsmooth (>= 2.2.14); however:
  Package r-cran-kernsmooth is not configured yet.
 r-recommended depends on r-cran-lattice (>= 0.10.11); however:
  Package r-cran-lattice is not configured yet.
 r-recommended depends on r-cran-mgcv (>= 1.1.5); however:
  Package r-cran-mgcv is not configured yet.
 r-recommended depends on r-cran-nlme (>= 3.1.52); however:
  Package r-cran-nlme is not configured yet.
 r-recommended depends on r-cran-rpart (>= 3.1.20); however:
  Package r-cran-rpart i
dpkg: error processing package r-recommended (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of r-base:
 r-base depends on r-base-core (>= 3.3.2-1trusty0); however:
  Package r-base-core is not configured yet.
 r-base depends on r-recommended (= 3.3.2-1trusty0); however:
  Package r-recommended is not configured yet.

dpkg: error processing package r-base (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of r-base-dev:
 r-base-dev depends on r-base-core (>= 3.3.2-1trusty0); however:
  Package r-base-core is not configured yet.

dpkg: error processing package r-base-dev (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of r-base-html:
 r-base-html depends on r-base-core; however:
  Package r-base-core is not configured yet.

dpkg: error processing package r-base-html (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 r-base-core
 r-cran-boot
 r-cran-cluster
 r-cran-foreign
 r-cran-mass
 r-cran-kernsmooth
 r-cran-lattice
 r-cran-nlme
 r-cran-matrix
 r-cran-mgcv
 r-cran-survival
 r-cran-rpart
 r-cran-class
 r-cran-nnet
 r-cran-spatial
 r-cran-codetools
 r-recommended
 r-base
 r-base-dev
 r-base-html
E: Sub-process /usr/bin/dpkg returned an error code (1)

আপডেট 1. কী (এবং কীভাবে) ইনস্টল করার চেষ্টা করেছি।

echo "deb http://cran.fhcrc.org/bin/linux/ubuntu trusty/" | sudo tee -a /etc/apt/sources.list > /dev/null
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E084DAB9
sudo add-apt-repository ppa:marutter/rdev
sudo apt-get update
sudo apt-get install r-base r-base-dev

আপডেট 2 অনুরোধ করা আউটপুট

(py3) ilia@arriam-lab2-cpu:~$ ls -l /etc/bash_completion.d/R /usr/share/bash-completion/completions/R
ls: cannot access /usr/share/bash-completion/completions/R: No such file or directory
-rw-r--r-- 1 root root 13596 nov.  1 04:17 /etc/bash_completion.d/R

আপনি কী ইনস্টল করার চেষ্টা করেছিলেন এবং কীভাবে? Blog.bodhizazen.net/linux/…
প্যান্থার

আপনি কিls -l /etc/bash_completion.d/R /usr/share/bash-completion/completions/R
user.dz

@ বোডি.জাজেন আমি প্রশ্নটি আপডেট করেছি
এলি করভিগো

@ User.dz আমি আউটপুট যুক্ত করেছি
এলি করভিগো

1
আমি রেপো রক্ষণাবেক্ষণকারীদের সাথে একটি বাগ রিপোর্ট দায়ের করব।
প্যান্থার

উত্তর:


16
  • বিষয়টি ব্যাখ্যা করছি

    Setting up r-base-core (3.3.2-1trusty0) ...
    Preserving user changes to /usr/share/bash-completion/completions/R (renamed from /etc/bash_completion.d/R)...
    mv: cannot stat ‘/usr/share/bash-completion/completions/R’: No such file or directory
    dpkg: error processing package r-base-core (--configure):
     subprocess installed post-installation script returned error exit status 1
    

    ইনস্টলেশন-পরবর্তী স্ক্রিপ্ট ( /var/lib/dpkg/info/r-base-core.postinst) /usr/share/bash-completion/completions/Rফাইলটি সরানোর চেষ্টা করার আগে উপস্থিত ছিল কিনা তা পরীক্ষা করে না।

  • কুইক ফিক্স / ওয়ার্কআরাউন্ড

    1. শুধু ফাইলের অনুলিপি তৈরি করুন।

      sudo cp /etc/bash_completion.d/R /usr/share/bash-completion/completions/R
      
    2. বাধা ইনস্টলেশন স্থির করুন

      sudo apt-get -f install
      
  • সংজ্ঞা সংশোধন

    যেমন বোধি.জাজেন বলেছিলেন, প্রকল্পটিতে একটি বাগ রিপোর্ট উত্থাপন করুন।


1
আমি কি আপনাকে কোনও ফুল পাঠাতে পারি?
ভিনসেন্ট

1
@ ভিনসেন্ট, লোল, :) শুনে শুনে ভালো লাগল যে আমার উত্তর আপনাকে সহায়তা করে।
user.dz
আমাদের সাইট ব্যবহার করে, আপনি স্বীকার করেছেন যে আপনি আমাদের কুকি নীতি এবং গোপনীয়তা নীতিটি পড়েছেন এবং বুঝতে পেরেছেন ।
Licensed under cc by-sa 3.0 with attribution required.